From 7a4a230f7a807e461573acacbef1f9522f4bee23 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Nov 2023 21:04:09 +0000 Subject: [PATCH 1/2] feat: add container_name, container_type fields to Continuous Validation Logs PiperOrigin-RevId: 585695887 Source-Link: https://github.com/googleapis/googleapis/commit/4eccaaf48c0ccadc6f98707d3dbe9614d47bb103 Source-Link: https://github.com/googleapis/googleapis-gen/commit/664879501d516e9c67d04851429a3f19f20b09a5 Copy-Tag: eyJwIjoiamF2YS1iaW5hcnktYXV0aG9yaXphdGlvbi8uT3dsQm90LnlhbWwiLCJoIjoiNjY0ODc5NTAxZDUxNmU5YzY3ZDA0ODUxNDI5YTNmMTlmMjBiMDlhNSJ9 --- .../v1/BinauthzManagementServiceV1Grpc.java | 1264 --- .../v1/SystemPolicyV1Grpc.java | 392 - .../v1/ValidationHelperV1Grpc.java | 426 - .../BinaryAuthorizationResourcesProto.java | 311 - .../BinaryAuthorizationServiceProto.java | 265 - .../ContinuousValidationEventOrBuilder.java | 116 - .../ContinuousValidationLoggingProto.java | 199 - .../DeleteAttestorRequestOrBuilder.java | 56 - .../v1beta1/GetAttestorRequestOrBuilder.java | 56 - .../v1beta1/GetPolicyRequestOrBuilder.java | 56 - .../GetSystemPolicyRequestOrBuilder.java | 56 - .../v1/BinauthzManagementServiceV1Client.java | 0 .../BinauthzManagementServiceV1Settings.java | 1 + .../v1/SystemPolicyV1Client.java | 0 .../v1/SystemPolicyV1Settings.java | 1 + .../v1/ValidationHelperV1Client.java | 0 .../v1/ValidationHelperV1Settings.java | 1 + .../v1/gapic_metadata.json | 0 .../binaryauthorization/v1/package-info.java | 0 .../stub/BinauthzManagementServiceV1Stub.java | 0 ...nauthzManagementServiceV1StubSettings.java | 0 ...thzManagementServiceV1CallableFactory.java | 0 .../GrpcBinauthzManagementServiceV1Stub.java | 1 + .../GrpcSystemPolicyV1CallableFactory.java | 0 .../v1/stub/GrpcSystemPolicyV1Stub.java | 1 + ...GrpcValidationHelperV1CallableFactory.java | 0 .../v1/stub/GrpcValidationHelperV1Stub.java | 1 + ...thzManagementServiceV1CallableFactory.java | 0 ...tpJsonBinauthzManagementServiceV1Stub.java | 0 ...HttpJsonSystemPolicyV1CallableFactory.java | 0 .../v1/stub/HttpJsonSystemPolicyV1Stub.java | 0 ...JsonValidationHelperV1CallableFactory.java | 0 .../stub/HttpJsonValidationHelperV1Stub.java | 0 .../v1/stub/SystemPolicyV1Stub.java | 0 .../v1/stub/SystemPolicyV1StubSettings.java | 0 .../v1/stub/ValidationHelperV1Stub.java | 0 .../stub/ValidationHelperV1StubSettings.java | 0 .../reflect-config.json | 0 ...ManagementServiceV1ClientHttpJsonTest.java | 0 ...BinauthzManagementServiceV1ClientTest.java | 0 .../v1/MockBinauthzManagementServiceV1.java | 0 .../MockBinauthzManagementServiceV1Impl.java | 0 .../v1/MockSystemPolicyV1.java | 0 .../v1/MockSystemPolicyV1Impl.java | 0 .../v1/MockValidationHelperV1.java | 0 .../v1/MockValidationHelperV1Impl.java | 0 .../v1/SystemPolicyV1ClientHttpJsonTest.java | 0 .../v1/SystemPolicyV1ClientTest.java | 0 .../ValidationHelperV1ClientHttpJsonTest.java | 0 .../v1/ValidationHelperV1ClientTest.java | 0 .../v1/BinauthzManagementServiceV1Grpc.java | 927 ++ .../v1/SystemPolicyV1Grpc.java | 323 + .../v1/ValidationHelperV1Grpc.java | 327 + .../binaryauthorization/v1/AttestorName.java | 0 .../binaryauthorization/v1/PolicyName.java | 0 .../binaryauthorization/v1/ProjectName.java | 0 .../binaryauthorization/v1/Resources.java | 8289 ++++++----------- .../cloud/binaryauthorization/v1/Service.java | 6863 +++++--------- .../binaryauthorization/v1/resources.proto | 0 .../binaryauthorization/v1/service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createattestor/AsyncCreateAttestor.java | 0 .../createattestor/SyncCreateAttestor.java | 0 ...torProjectnameStringResourcesattestor.java | 0 ...AttestorStringStringResourcesattestor.java | 0 .../deleteattestor/AsyncDeleteAttestor.java | 0 .../deleteattestor/SyncDeleteAttestor.java | 0 .../SyncDeleteAttestorAttestorname.java | 0 .../SyncDeleteAttestorString.java | 0 .../getattestor/AsyncGetAttestor.java | 0 .../getattestor/SyncGetAttestor.java | 0 .../SyncGetAttestorAttestorname.java | 0 .../getattestor/SyncGetAttestorString.java | 0 .../getpolicy/AsyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicyPolicyname.java | 0 .../getpolicy/SyncGetPolicyString.java | 0 .../listattestors/AsyncListAttestors.java | 0 .../AsyncListAttestorsPaged.java | 0 .../listattestors/SyncListAttestors.java | 0 .../SyncListAttestorsProjectname.java | 0 .../SyncListAttestorsString.java | 0 .../updateattestor/AsyncUpdateAttestor.java | 0 .../updateattestor/SyncUpdateAttestor.java | 0 .../SyncUpdateAttestorResourcesattestor.java | 0 .../updatepolicy/AsyncUpdatePolicy.java | 0 .../updatepolicy/SyncUpdatePolicy.java | 0 .../SyncUpdatePolicyResourcespolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncValidateAttestationOccurrence.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../getsystempolicy/AsyncGetSystemPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncGetSystemPolicyPolicyname.java | 0 .../SyncGetSystemPolicyString.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncValidateAttestationOccurrence.java | 0 .../SyncValidateAttestationOccurrence.java | 0 .../SyncValidateAttestationOccurrence.java | 0 ...inauthzManagementServiceV1Beta1Client.java | 0 ...authzManagementServiceV1Beta1Settings.java | 1 + .../v1beta1/SystemPolicyV1Beta1Client.java | 0 .../v1beta1/SystemPolicyV1Beta1Settings.java | 1 + .../v1beta1/gapic_metadata.json | 0 .../v1beta1/package-info.java | 0 .../BinauthzManagementServiceV1Beta1Stub.java | 0 ...zManagementServiceV1Beta1StubSettings.java | 0 ...nagementServiceV1Beta1CallableFactory.java | 0 ...cBinauthzManagementServiceV1Beta1Stub.java | 1 + ...rpcSystemPolicyV1Beta1CallableFactory.java | 0 .../stub/GrpcSystemPolicyV1Beta1Stub.java | 1 + ...nagementServiceV1Beta1CallableFactory.java | 0 ...nBinauthzManagementServiceV1Beta1Stub.java | 0 ...sonSystemPolicyV1Beta1CallableFactory.java | 0 .../stub/HttpJsonSystemPolicyV1Beta1Stub.java | 0 .../v1beta1/stub/SystemPolicyV1Beta1Stub.java | 0 .../stub/SystemPolicyV1Beta1StubSettings.java | 0 .../reflect-config.json | 9 + ...ementServiceV1Beta1ClientHttpJsonTest.java | 0 ...thzManagementServiceV1Beta1ClientTest.java | 0 .../MockBinauthzManagementServiceV1Beta1.java | 0 ...kBinauthzManagementServiceV1Beta1Impl.java | 0 .../v1beta1/MockSystemPolicyV1Beta1.java | 0 .../v1beta1/MockSystemPolicyV1Beta1Impl.java | 0 ...SystemPolicyV1Beta1ClientHttpJsonTest.java | 0 .../SystemPolicyV1Beta1ClientTest.java | 0 .../BinauthzManagementServiceV1Beta1Grpc.java | 867 +- .../v1beta1/SystemPolicyV1Beta1Grpc.java | 217 +- .../v1beta1/AdmissionRule.java | 756 +- .../v1beta1/AdmissionRuleOrBuilder.java | 76 +- .../v1beta1/AdmissionWhitelistPattern.java | 360 +- .../AdmissionWhitelistPatternOrBuilder.java | 27 +- .../binaryauthorization/v1beta1/Attestor.java | 745 +- .../v1beta1/AttestorName.java | 0 .../v1beta1/AttestorOrBuilder.java | 76 +- .../v1beta1/AttestorPublicKey.java | 664 +- .../v1beta1/AttestorPublicKeyOrBuilder.java | 56 +- .../BinaryAuthorizationResourcesProto.java | 269 + .../BinaryAuthorizationServiceProto.java | 241 + .../v1beta1/ContinuousValidationEvent.java | 6379 +++++-------- .../ContinuousValidationEventOrBuilder.java | 65 + .../ContinuousValidationLoggingProto.java | 169 + .../v1beta1/CreateAttestorRequest.java | 600 +- .../CreateAttestorRequestOrBuilder.java | 64 +- .../v1beta1/DeleteAttestorRequest.java | 385 +- .../DeleteAttestorRequestOrBuilder.java | 31 + .../v1beta1/GetAttestorRequest.java | 373 +- .../v1beta1/GetAttestorRequestOrBuilder.java | 31 + .../v1beta1/GetPolicyRequest.java | 360 +- .../v1beta1/GetPolicyRequestOrBuilder.java | 31 + .../v1beta1/GetSystemPolicyRequest.java | 385 +- .../GetSystemPolicyRequestOrBuilder.java | 31 + .../v1beta1/ListAttestorsRequest.java | 484 +- .../ListAttestorsRequestOrBuilder.java | 47 +- .../v1beta1/ListAttestorsResponse.java | 509 +- .../ListAttestorsResponseOrBuilder.java | 45 +- .../v1beta1/PkixPublicKey.java | 586 +- .../v1beta1/PkixPublicKeyOrBuilder.java | 44 +- .../binaryauthorization/v1beta1/Policy.java | 2436 ++--- .../v1beta1/PolicyName.java | 0 .../v1beta1/PolicyOrBuilder.java | 342 +- .../v1beta1/ProjectName.java | 0 .../v1beta1/UpdateAttestorRequest.java | 431 +- .../UpdateAttestorRequestOrBuilder.java | 38 +- .../v1beta1/UpdatePolicyRequest.java | 419 +- .../v1beta1/UpdatePolicyRequestOrBuilder.java | 38 +- .../v1beta1/UserOwnedDrydockNote.java | 740 +- .../UserOwnedDrydockNoteOrBuilder.java | 76 +- .../continuous_validation_logging.proto | 23 + .../v1beta1/resources.proto | 0 .../binaryauthorization/v1beta1/service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createattestor/AsyncCreateAttestor.java | 0 .../createattestor/SyncCreateAttestor.java | 0 ...eateAttestorProjectnameStringAttestor.java | 0 ...yncCreateAttestorStringStringAttestor.java | 0 .../deleteattestor/AsyncDeleteAttestor.java | 0 .../deleteattestor/SyncDeleteAttestor.java | 0 .../SyncDeleteAttestorAttestorname.java | 0 .../SyncDeleteAttestorString.java | 0 .../getattestor/AsyncGetAttestor.java | 0 .../getattestor/SyncGetAttestor.java | 0 .../SyncGetAttestorAttestorname.java | 0 .../getattestor/SyncGetAttestorString.java | 0 .../getpolicy/AsyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicyPolicyname.java | 0 .../getpolicy/SyncGetPolicyString.java | 0 .../listattestors/AsyncListAttestors.java | 0 .../AsyncListAttestorsPaged.java | 0 .../listattestors/SyncListAttestors.java | 0 .../SyncListAttestorsProjectname.java | 0 .../SyncListAttestorsString.java | 0 .../updateattestor/AsyncUpdateAttestor.java | 0 .../updateattestor/SyncUpdateAttestor.java | 0 .../SyncUpdateAttestorAttestor.java | 0 .../updatepolicy/AsyncUpdatePolicy.java | 0 .../updatepolicy/SyncUpdatePolicy.java | 0 .../updatepolicy/SyncUpdatePolicyPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../getsystempolicy/AsyncGetSystemPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncGetSystemPolicyPolicyname.java | 0 .../SyncGetSystemPolicyString.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 221 files changed, 14659 insertions(+), 24802 deletions(-) delete mode 100644 java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java delete mode 100644 java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java delete mode 100644 java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java delete mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java (100%) create mode 100644 owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java create mode 100644 owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java create mode 100644 owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java (60%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java (59%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json (99%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java (51%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java (55%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java (68%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java (69%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java (66%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java (67%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java (65%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java (66%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java (74%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java (85%) create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java (59%) create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java (64%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java (61%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java (60%) create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java (61%) create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java (62%) create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java (59%) create mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java (66%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java (64%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java (71%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java (74%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java (69%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java (60%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java (57%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java (57%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java (62%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java (59%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java (63%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java (59%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java (70%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java (75%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto (86%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java (100%) rename {java-binary-authorization => owl-bot-staging/java-binary-authorization/v1beta1}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java (100%) diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java deleted file mode 100644 index 44005f16d871..000000000000 --- a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java +++ /dev/null @@ -1,1264 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.protos.google.cloud.binaryauthorization.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Google Cloud Management Service for Binary Authorization admission policies
- * and attestation authorities.
- * This API implements a REST model with the following objects:
- * * [Policy][google.cloud.binaryauthorization.v1.Policy]
- * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/binaryauthorization/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BinauthzManagementServiceV1Grpc { - - private BinauthzManagementServiceV1Grpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getGetPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicy", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getGetPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getGetPolicyMethod; - if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { - BinauthzManagementServiceV1Grpc.getGetPolicyMethod = - getGetPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance())) - .setSchemaDescriptor( - new BinauthzManagementServiceV1MethodDescriptorSupplier("GetPolicy")) - .build(); - } - } - } - return getGetPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getUpdatePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getUpdatePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getUpdatePolicyMethod; - if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) - == null) { - BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod = - getUpdatePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdatePolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance())) - .setSchemaDescriptor( - new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdatePolicy")) - .build(); - } - } - } - return getUpdatePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getCreateAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAttestor", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getCreateAttestorMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getCreateAttestorMethod; - if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) - == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) - == null) { - BinauthzManagementServiceV1Grpc.getCreateAttestorMethod = - getCreateAttestorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .Attestor.getDefaultInstance())) - .setSchemaDescriptor( - new BinauthzManagementServiceV1MethodDescriptorSupplier("CreateAttestor")) - .build(); - } - } - } - return getCreateAttestorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getGetAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttestor", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getGetAttestorMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getGetAttestorMethod; - if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { - BinauthzManagementServiceV1Grpc.getGetAttestorMethod = - getGetAttestorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetAttestorRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .Attestor.getDefaultInstance())) - .setSchemaDescriptor( - new BinauthzManagementServiceV1MethodDescriptorSupplier("GetAttestor")) - .build(); - } - } - } - return getGetAttestorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getUpdateAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAttestor", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getUpdateAttestorMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getUpdateAttestorMethod; - if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) - == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) - == null) { - BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod = - getUpdateAttestorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .Attestor.getDefaultInstance())) - .setSchemaDescriptor( - new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdateAttestor")) - .build(); - } - } - } - return getUpdateAttestorMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> - getListAttestorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAttestors", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, - responseType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> - getListAttestorsMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> - getListAttestorsMethod; - if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) - == null) { - BinauthzManagementServiceV1Grpc.getListAttestorsMethod = - getListAttestorsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new BinauthzManagementServiceV1MethodDescriptorSupplier("ListAttestors")) - .build(); - } - } - } - return getListAttestorsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, - com.google.protobuf.Empty> - getDeleteAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAttestor", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, - com.google.protobuf.Empty> - getDeleteAttestorMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, - com.google.protobuf.Empty> - getDeleteAttestorMethod; - if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) - == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) - == null) { - BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod = - getDeleteAttestorMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new BinauthzManagementServiceV1MethodDescriptorSupplier("DeleteAttestor")) - .build(); - } - } - } - return getDeleteAttestorMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static BinauthzManagementServiceV1Stub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BinauthzManagementServiceV1Stub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1Stub(channel, callOptions); - } - }; - return BinauthzManagementServiceV1Stub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BinauthzManagementServiceV1BlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BinauthzManagementServiceV1BlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); - } - }; - return BinauthzManagementServiceV1BlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static BinauthzManagementServiceV1FutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BinauthzManagementServiceV1FutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1FutureStub(channel, callOptions); - } - }; - return BinauthzManagementServiceV1FutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - default void getPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - default void updatePolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - default void createAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAttestorMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - default void getAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAttestorMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - default void updateAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAttestorMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - default void listAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAttestorsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - default void deleteAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAttestorMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BinauthzManagementServiceV1. - * - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public abstract static class BinauthzManagementServiceV1ImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return BinauthzManagementServiceV1Grpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BinauthzManagementServiceV1. - * - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public static final class BinauthzManagementServiceV1Stub - extends io.grpc.stub.AbstractAsyncStub { - private BinauthzManagementServiceV1Stub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BinauthzManagementServiceV1Stub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1Stub(channel, callOptions); - } - - /** - * - * - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - public void getPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - public void updatePolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - public void createAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public void getAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttestorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public void updateAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - public void listAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAttestorsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public void deleteAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BinauthzManagementServiceV1. - * - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public static final class BinauthzManagementServiceV1BlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BinauthzManagementServiceV1BlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BinauthzManagementServiceV1BlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy updatePolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor createAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAttestorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttestorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor updateAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAttestorMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - listAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAttestorsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.protobuf.Empty deleteAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAttestorMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * BinauthzManagementServiceV1. - * - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public static final class BinauthzManagementServiceV1FutureStub - extends io.grpc.stub.AbstractFutureStub { - private BinauthzManagementServiceV1FutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BinauthzManagementServiceV1FutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1FutureStub(channel, callOptions); - } - - /** - * - * - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - updatePolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - createAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - updateAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> - listAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_POLICY = 0; - private static final int METHODID_UPDATE_POLICY = 1; - private static final int METHODID_CREATE_ATTESTOR = 2; - private static final int METHODID_GET_ATTESTOR = 3; - private static final int METHODID_UPDATE_ATTESTOR = 4; - private static final int METHODID_LIST_ATTESTORS = 5; - private static final int METHODID_DELETE_ATTESTOR = 6; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_POLICY: - serviceImpl.getPolicy( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>) - responseObserver); - break; - case METHODID_UPDATE_POLICY: - serviceImpl.updatePolicy( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>) - responseObserver); - break; - case METHODID_CREATE_ATTESTOR: - serviceImpl.createAttestor( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>) - responseObserver); - break; - case METHODID_GET_ATTESTOR: - serviceImpl.getAttestor( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>) - responseObserver); - break; - case METHODID_UPDATE_ATTESTOR: - serviceImpl.updateAttestor( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>) - responseObserver); - break; - case METHODID_LIST_ATTESTORS: - serviceImpl.listAttestors( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse>) - responseObserver); - break; - case METHODID_DELETE_ATTESTOR: - serviceImpl.deleteAttestor( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) - request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( - service, METHODID_GET_POLICY))) - .addMethod( - getUpdatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdatePolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( - service, METHODID_UPDATE_POLICY))) - .addMethod( - getCreateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( - service, METHODID_CREATE_ATTESTOR))) - .addMethod( - getGetAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( - service, METHODID_GET_ATTESTOR))) - .addMethod( - getUpdateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( - service, METHODID_UPDATE_ATTESTOR))) - .addMethod( - getListAttestorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse>(service, METHODID_LIST_ATTESTORS))) - .addMethod( - getDeleteAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_ATTESTOR))) - .build(); - } - - private abstract static class BinauthzManagementServiceV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BinauthzManagementServiceV1BaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BinauthzManagementServiceV1"); - } - } - - private static final class BinauthzManagementServiceV1FileDescriptorSupplier - extends BinauthzManagementServiceV1BaseDescriptorSupplier { - BinauthzManagementServiceV1FileDescriptorSupplier() {} - } - - private static final class BinauthzManagementServiceV1MethodDescriptorSupplier - extends BinauthzManagementServiceV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - BinauthzManagementServiceV1MethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BinauthzManagementServiceV1FileDescriptorSupplier()) - .addMethod(getGetPolicyMethod()) - .addMethod(getUpdatePolicyMethod()) - .addMethod(getCreateAttestorMethod()) - .addMethod(getGetAttestorMethod()) - .addMethod(getUpdateAttestorMethod()) - .addMethod(getListAttestorsMethod()) - .addMethod(getDeleteAttestorMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java deleted file mode 100644 index 3af404eb0b3e..000000000000 --- a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java +++ /dev/null @@ -1,392 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.protos.google.cloud.binaryauthorization.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * API for working with the system policy.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/binaryauthorization/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class SystemPolicyV1Grpc { - - private SystemPolicyV1Grpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.binaryauthorization.v1.SystemPolicyV1"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getGetSystemPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSystemPolicy", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - .class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getGetSystemPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getGetSystemPolicyMethod; - if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { - synchronized (SystemPolicyV1Grpc.class) { - if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { - SystemPolicyV1Grpc.getGetSystemPolicyMethod = - getGetSystemPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance())) - .setSchemaDescriptor( - new SystemPolicyV1MethodDescriptorSupplier("GetSystemPolicy")) - .build(); - } - } - } - return getGetSystemPolicyMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static SystemPolicyV1Stub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Stub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Stub(channel, callOptions); - } - }; - return SystemPolicyV1Stub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static SystemPolicyV1BlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1BlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1BlockingStub(channel, callOptions); - } - }; - return SystemPolicyV1BlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static SystemPolicyV1FutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1FutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1FutureStub(channel, callOptions); - } - }; - return SystemPolicyV1FutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * API for working with the system policy.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - default void getSystemPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetSystemPolicyMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service SystemPolicyV1. - * - *
-   * API for working with the system policy.
-   * 
- */ - public abstract static class SystemPolicyV1ImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return SystemPolicyV1Grpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1. - * - *
-   * API for working with the system policy.
-   * 
- */ - public static final class SystemPolicyV1Stub - extends io.grpc.stub.AbstractAsyncStub { - private SystemPolicyV1Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SystemPolicyV1Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Stub(channel, callOptions); - } - - /** - * - * - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - public void getSystemPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1. - * - *
-   * API for working with the system policy.
-   * 
- */ - public static final class SystemPolicyV1BlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private SystemPolicyV1BlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SystemPolicyV1BlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1BlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getSystemPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSystemPolicyMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1. - * - *
-   * API for working with the system policy.
-   * 
- */ - public static final class SystemPolicyV1FutureStub - extends io.grpc.stub.AbstractFutureStub { - private SystemPolicyV1FutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SystemPolicyV1FutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1FutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> - getSystemPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_SYSTEM_POLICY = 0; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_SYSTEM_POLICY: - serviceImpl.getSystemPolicy( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetSystemPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( - service, METHODID_GET_SYSTEM_POLICY))) - .build(); - } - - private abstract static class SystemPolicyV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - SystemPolicyV1BaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("SystemPolicyV1"); - } - } - - private static final class SystemPolicyV1FileDescriptorSupplier - extends SystemPolicyV1BaseDescriptorSupplier { - SystemPolicyV1FileDescriptorSupplier() {} - } - - private static final class SystemPolicyV1MethodDescriptorSupplier - extends SystemPolicyV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - SystemPolicyV1MethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (SystemPolicyV1Grpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SystemPolicyV1FileDescriptorSupplier()) - .addMethod(getGetSystemPolicyMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java deleted file mode 100644 index e44c38f05722..000000000000 --- a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java +++ /dev/null @@ -1,426 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.protos.google.cloud.binaryauthorization.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * BinAuthz Attestor verification
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/binaryauthorization/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ValidationHelperV1Grpc { - - private ValidationHelperV1Grpc() {} - - public static final java.lang.String SERVICE_NAME = - "google.cloud.binaryauthorization.v1.ValidationHelperV1"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse> - getValidateAttestationOccurrenceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ValidateAttestationOccurrence", - requestType = - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest.class, - responseType = - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse> - getValidateAttestationOccurrenceMethod() { - io.grpc.MethodDescriptor< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse> - getValidateAttestationOccurrenceMethod; - if ((getValidateAttestationOccurrenceMethod = - ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) - == null) { - synchronized (ValidationHelperV1Grpc.class) { - if ((getValidateAttestationOccurrenceMethod = - ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) - == null) { - ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod = - getValidateAttestationOccurrenceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ValidateAttestationOccurrence")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ValidationHelperV1MethodDescriptorSupplier( - "ValidateAttestationOccurrence")) - .build(); - } - } - } - return getValidateAttestationOccurrenceMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ValidationHelperV1Stub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ValidationHelperV1Stub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1Stub(channel, callOptions); - } - }; - return ValidationHelperV1Stub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ValidationHelperV1BlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ValidationHelperV1BlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1BlockingStub(channel, callOptions); - } - }; - return ValidationHelperV1BlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ValidationHelperV1FutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ValidationHelperV1FutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1FutureStub(channel, callOptions); - } - }; - return ValidationHelperV1FutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * BinAuthz Attestor verification
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - default void validateAttestationOccurrence( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getValidateAttestationOccurrenceMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service ValidationHelperV1. - * - *
-   * BinAuthz Attestor verification
-   * 
- */ - public abstract static class ValidationHelperV1ImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return ValidationHelperV1Grpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service ValidationHelperV1. - * - *
-   * BinAuthz Attestor verification
-   * 
- */ - public static final class ValidationHelperV1Stub - extends io.grpc.stub.AbstractAsyncStub { - private ValidationHelperV1Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ValidationHelperV1Stub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1Stub(channel, callOptions); - } - - /** - * - * - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - public void validateAttestationOccurrence( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - request, - io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service ValidationHelperV1. - * - *
-   * BinAuthz Attestor verification
-   * 
- */ - public static final class ValidationHelperV1BlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ValidationHelperV1BlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ValidationHelperV1BlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1BlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - validateAttestationOccurrence( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getValidateAttestationOccurrenceMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service ValidationHelperV1. - * - *
-   * BinAuthz Attestor verification
-   * 
- */ - public static final class ValidationHelperV1FutureStub - extends io.grpc.stub.AbstractFutureStub { - private ValidationHelperV1FutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ValidationHelperV1FutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1FutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse> - validateAttestationOccurrence( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), - request); - } - } - - private static final int METHODID_VALIDATE_ATTESTATION_OCCURRENCE = 0; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_VALIDATE_ATTESTATION_OCCURRENCE: - serviceImpl.validateAttestationOccurrence( - (com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest) - request, - (io.grpc.stub.StreamObserver< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getValidateAttestationOccurrenceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse>( - service, METHODID_VALIDATE_ATTESTATION_OCCURRENCE))) - .build(); - } - - private abstract static class ValidationHelperV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ValidationHelperV1BaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ValidationHelperV1"); - } - } - - private static final class ValidationHelperV1FileDescriptorSupplier - extends ValidationHelperV1BaseDescriptorSupplier { - ValidationHelperV1FileDescriptorSupplier() {} - } - - private static final class ValidationHelperV1MethodDescriptorSupplier - extends ValidationHelperV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - ValidationHelperV1MethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ValidationHelperV1Grpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ValidationHelperV1FileDescriptorSupplier()) - .addMethod(getValidateAttestationOccurrenceMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java deleted file mode 100644 index 1bf5ef7c1e42..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java +++ /dev/null @@ -1,311 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/resources.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public final class BinaryAuthorizationResourcesProto { - private BinaryAuthorizationResourcesProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_binaryauthorization_v1beta1_Policy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/binaryauthorization/v1bet" - + "a1/resources.proto\022(google.cloud.binarya" - + "uthorization.v1beta1\032\037google/api/field_b" - + "ehavior.proto\032\031google/api/resource.proto" - + "\032\037google/protobuf/timestamp.proto\"\273\r\n\006Po" - + "licy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030" - + "\006 \001(\tB\004\342A\001\001\022x\n\035global_policy_evaluation_" - + "mode\030\007 \001(\0162K.google.cloud.binaryauthoriz" - + "ation.v1beta1.Policy.GlobalPolicyEvaluat" - + "ionModeB\004\342A\001\001\022o\n\034admission_whitelist_pat" - + "terns\030\002 \003(\0132C.google.cloud.binaryauthori" - + "zation.v1beta1.AdmissionWhitelistPattern" - + "B\004\342A\001\001\022r\n\027cluster_admission_rules\030\003 \003(\0132" - + "K.google.cloud.binaryauthorization.v1bet" - + "a1.Policy.ClusterAdmissionRulesEntryB\004\342A" - + "\001\001\022\213\001\n$kubernetes_namespace_admission_ru" - + "les\030\n \003(\0132W.google.cloud.binaryauthoriza" - + "tion.v1beta1.Policy.KubernetesNamespaceA" - + "dmissionRulesEntryB\004\342A\001\001\022\226\001\n*kubernetes_" - + "service_account_admission_rules\030\010 \003(\0132\\." - + "google.cloud.binaryauthorization.v1beta1" - + ".Policy.KubernetesServiceAccountAdmissio" - + "nRulesEntryB\004\342A\001\001\022\216\001\n&istio_service_iden" - + "tity_admission_rules\030\t \003(\0132X.google.clou" - + "d.binaryauthorization.v1beta1.Policy.Ist" - + "ioServiceIdentityAdmissionRulesEntryB\004\342A" - + "\001\001\022]\n\026default_admission_rule\030\004 \001(\01327.goo" - + "gle.cloud.binaryauthorization.v1beta1.Ad" - + "missionRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032" - + ".google.protobuf.TimestampB\004\342A\001\003\032u\n\032Clus" - + "terAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005v" - + "alue\030\002 \001(\01327.google.cloud.binaryauthoriz" - + "ation.v1beta1.AdmissionRule:\0028\001\032\201\001\n&Kube" - + "rnetesNamespaceAdmissionRulesEntry\022\013\n\003ke" - + "y\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google.cloud.bi" - + "naryauthorization.v1beta1.AdmissionRule:" - + "\0028\001\032\206\001\n+KubernetesServiceAccountAdmissio" - + "nRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\0132" - + "7.google.cloud.binaryauthorization.v1bet" - + "a1.AdmissionRule:\0028\001\032\202\001\n\'IstioServiceIde" - + "ntityAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n" - + "\005value\030\002 \001(\01327.google.cloud.binaryauthor" - + "ization.v1beta1.AdmissionRule:\0028\001\"d\n\032Glo" - + "balPolicyEvaluationMode\022-\n)GLOBAL_POLICY" - + "_EVALUATION_MODE_UNSPECIFIED\020\000\022\n\n\006ENABLE" - + "\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binaryauthorizatio" - + "n.googleapis.com/Policy\022\031projects/{proje" - + "ct}/policy\022\033locations/{location}/policy\"" - + "1\n\031AdmissionWhitelistPattern\022\024\n\014name_pat" - + "tern\030\001 \001(\t\"\347\003\n\rAdmissionRule\022e\n\017evaluati" - + "on_mode\030\001 \001(\0162F.google.cloud.binaryautho" - + "rization.v1beta1.AdmissionRule.Evaluatio" - + "nModeB\004\342A\001\002\022%\n\027require_attestations_by\030\002" - + " \003(\tB\004\342A\001\001\022g\n\020enforcement_mode\030\003 \001(\0162G.g" - + "oogle.cloud.binaryauthorization.v1beta1." - + "AdmissionRule.EnforcementModeB\004\342A\001\002\"m\n\016E" - + "valuationMode\022\037\n\033EVALUATION_MODE_UNSPECI" - + "FIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_ATTE" - + "STATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforcemen" - + "tMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED\020\000\022" - + " \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025DRY" - + "RUN_AUDIT_LOG_ONLY\020\002\"\277\002\n\010Attestor\022\022\n\004nam" - + "e\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342A\001\001" - + "\022a\n\027user_owned_drydock_note\030\003 \001(\0132>.goog" - + "le.cloud.binaryauthorization.v1beta1.Use" - + "rOwnedDrydockNoteH\000\0225\n\013update_time\030\004 \001(\013" - + "2\032.google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n" - + "+binaryauthorization.googleapis.com/Atte" - + "stor\022\'projects/{project}/attestors/{atte" - + "stor}B\017\n\rattestor_type\"\274\001\n\024UserOwnedDryd" - + "ockNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022V\n" - + "\013public_keys\030\002 \003(\0132;.google.cloud.binary" - + "authorization.v1beta1.AttestorPublicKeyB" - + "\004\342A\001\001\022.\n delegation_service_account_emai" - + "l\030\003 \001(\tB\004\342A\001\003\"\304\004\n\rPkixPublicKey\022\026\n\016publi" - + "c_key_pem\030\001 \001(\t\022g\n\023signature_algorithm\030\002" - + " \001(\0162J.google.cloud.binaryauthorization." - + "v1beta1.PkixPublicKey.SignatureAlgorithm" - + "\"\261\003\n\022SignatureAlgorithm\022#\n\037SIGNATURE_ALG" - + "ORITHM_UNSPECIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA" - + "256\020\001\022\027\n\023RSA_PSS_3072_SHA256\020\002\022\027\n\023RSA_PS" - + "S_4096_SHA256\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004" - + "\022\036\n\032RSA_SIGN_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_" - + "SIGN_PKCS1_3072_SHA256\020\006\022\036\n\032RSA_SIGN_PKC" - + "S1_4096_SHA256\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_" - + "SHA512\020\010\022\025\n\021ECDSA_P256_SHA256\020\t\022\027\n\023EC_SI" - + "GN_P256_SHA256\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022" - + "\027\n\023EC_SIGN_P384_SHA384\020\n\022\025\n\021ECDSA_P521_S" - + "HA512\020\013\022\027\n\023EC_SIGN_P521_SHA512\020\013\032\002\020\001\"\300\001\n" - + "\021AttestorPublicKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001" - + "\001\022\n\n\002id\030\002 \001(\t\022&\n\034ascii_armored_pgp_publi" - + "c_key\030\003 \001(\tH\000\022R\n\017pkix_public_key\030\005 \001(\01327" - + ".google.cloud.binaryauthorization.v1beta" - + "1.PkixPublicKeyH\000B\014\n\npublic_keyB\272\002\n,com." - + "google.cloud.binaryauthorization.v1beta1" - + "B!BinaryAuthorizationResourcesProtoP\001Z^c" - + "loud.google.com/go/binaryauthorization/a" - + "piv1beta1/binaryauthorizationpb;binaryau" - + "thorizationpb\370\001\001\252\002(Google.Cloud.BinaryAu" - + "thorization.V1Beta1\312\002(Google\\Cloud\\Binar" - + "yAuthorization\\V1beta1\352\002+Google::Cloud::" - + "BinaryAuthorization::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor, - new java.lang.String[] { - "Name", - "Description", - "GlobalPolicyEvaluationMode", - "AdmissionWhitelistPatterns", - "ClusterAdmissionRules", - "KubernetesNamespaceAdmissionRules", - "KubernetesServiceAccountAdmissionRules", - "IstioServiceIdentityAdmissionRules", - "DefaultAdmissionRule", - "UpdateTime", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor, - new java.lang.String[] { - "NamePattern", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor, - new java.lang.String[] { - "EvaluationMode", "RequireAttestationsBy", "EnforcementMode", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor, - new java.lang.String[] { - "Name", "Description", "UserOwnedDrydockNote", "UpdateTime", "AttestorType", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor, - new java.lang.String[] { - "NoteReference", "PublicKeys", "DelegationServiceAccountEmail", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor, - new java.lang.String[] { - "PublicKeyPem", "SignatureAlgorithm", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor, - new java.lang.String[] { - "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java deleted file mode 100644 index 238c770d59bb..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public final class BinaryAuthorizationServiceProto { - private BinaryAuthorizationServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/cloud/binaryauthorization/v1bet" - + "a1/service.proto\022(google.cloud.binaryaut" - + "horization.v1beta1\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032\037googl" - + "e/api/field_behavior.proto\032\031google/api/r" - + "esource.proto\0328google/cloud/binaryauthor" - + "ization/v1beta1/resources.proto\032\033google/" - + "protobuf/empty.proto\"T\n\020GetPolicyRequest" - + "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza" - + "tion.googleapis.com/Policy\"]\n\023UpdatePoli" - + "cyRequest\022F\n\006policy\030\001 \001(\01320.google.cloud" - + ".binaryauthorization.v1beta1.PolicyB\004\342A\001" - + "\002\"\304\001\n\025CreateAttestorRequest\022D\n\006parent\030\001 " - + "\001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.googl" - + "eapis.com/Project\022\031\n\013attestor_id\030\002 \001(\tB\004" - + "\342A\001\002\022J\n\010attestor\030\003 \001(\01322.google.cloud.bi" - + "naryauthorization.v1beta1.AttestorB\004\342A\001\002" - + "\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(\tB4\342A" - + "\001\002\372A-\n+binaryauthorization.googleapis.co" - + "m/Attestor\"c\n\025UpdateAttestorRequest\022J\n\010a" - + "ttestor\030\001 \001(\01322.google.cloud.binaryautho" - + "rization.v1beta1.AttestorB\004\342A\001\002\"\203\001\n\024List" - + "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A" - + "-\n+cloudresourcemanager.googleapis.com/P" - + "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" - + "\003 \001(\t\"w\n\025ListAttestorsResponse\022E\n\tattest" - + "ors\030\001 \003(\01322.google.cloud.binaryauthoriza" - + "tion.v1beta1.Attestor\022\027\n\017next_page_token" - + "\030\002 \001(\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030" - + "\001 \001(\tB4\342A\001\002\372A-\n+binaryauthorization.goog" - + "leapis.com/Attestor\"Z\n\026GetSystemPolicyRe" - + "quest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauth" - + "orization.googleapis.com/Policy2\313\013\n Bina" - + "uthzManagementServiceV1Beta1\022\253\001\n\tGetPoli" - + "cy\022:.google.cloud.binaryauthorization.v1" - + "beta1.GetPolicyRequest\0320.google.cloud.bi" - + "naryauthorization.v1beta1.Policy\"0\332A\004nam" - + "e\202\323\344\223\002#\022!/v1beta1/{name=projects/*/polic" - + "y}\022\302\001\n\014UpdatePolicy\022=.google.cloud.binar" - + "yauthorization.v1beta1.UpdatePolicyReque" - + "st\0320.google.cloud.binaryauthorization.v1" - + "beta1.Policy\"A\332A\006policy\202\323\344\223\0022\032(/v1beta1/" - + "{policy.name=projects/*/policy}:\006policy\022" - + "\335\001\n\016CreateAttestor\022?.google.cloud.binary" - + "authorization.v1beta1.CreateAttestorRequ" - + "est\0322.google.cloud.binaryauthorization.v" - + "1beta1.Attestor\"V\332A\033parent,attestor_id,a" - + "ttestor\202\323\344\223\0022\"&/v1beta1/{parent=projects" - + "/*}/attestors:\010attestor\022\266\001\n\013GetAttestor\022" - + "<.google.cloud.binaryauthorization.v1bet" - + "a1.GetAttestorRequest\0322.google.cloud.bin" - + "aryauthorization.v1beta1.Attestor\"5\332A\004na" - + "me\202\323\344\223\002(\022&/v1beta1/{name=projects/*/atte" - + "stors/*}\022\323\001\n\016UpdateAttestor\022?.google.clo" - + "ud.binaryauthorization.v1beta1.UpdateAtt" - + "estorRequest\0322.google.cloud.binaryauthor" - + "ization.v1beta1.Attestor\"L\332A\010attestor\202\323\344" - + "\223\002;\032//v1beta1/{attestor.name=projects/*/" - + "attestors/*}:\010attestor\022\311\001\n\rListAttestors" - + "\022>.google.cloud.binaryauthorization.v1be" - + "ta1.ListAttestorsRequest\032?.google.cloud." - + "binaryauthorization.v1beta1.ListAttestor" - + "sResponse\"7\332A\006parent\202\323\344\223\002(\022&/v1beta1/{pa" - + "rent=projects/*}/attestors\022\240\001\n\016DeleteAtt" - + "estor\022?.google.cloud.binaryauthorization" - + ".v1beta1.DeleteAttestorRequest\032\026.google." - + "protobuf.Empty\"5\332A\004name\202\323\344\223\002(*&/v1beta1/" - + "{name=projects/*/attestors/*}\032V\312A\"binary" - + "authorization.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platform2\250\002" - + "\n\023SystemPolicyV1Beta1\022\270\001\n\017GetSystemPolic" - + "y\022@.google.cloud.binaryauthorization.v1b" - + "eta1.GetSystemPolicyRequest\0320.google.clo" - + "ud.binaryauthorization.v1beta1.Policy\"1\332" - + "A\004name\202\323\344\223\002$\022\"/v1beta1/{name=locations/*" - + "/policy}\032V\312A\"binaryauthorization.googlea" - + "pis.com\322A.https://www.googleapis.com/aut" - + "h/cloud-platformB\270\002\n,com.google.cloud.bi" - + "naryauthorization.v1beta1B\037BinaryAuthori" - + "zationServiceProtoP\001Z^cloud.google.com/g" - + "o/binaryauthorization/apiv1beta1/binarya" - + "uthorizationpb;binaryauthorizationpb\370\001\001\252" - + "\002(Google.Cloud.BinaryAuthorization.V1Bet" - + "a1\312\002(Google\\Cloud\\BinaryAuthorization\\V1" - + "beta1\352\002+Google::Cloud::BinaryAuthorizati" - + "on::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto - .getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor, - new java.lang.String[] { - "Policy", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor, - new java.lang.String[] { - "Parent", "AttestorId", "Attestor", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor, - new java.lang.String[] { - "Attestor", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor, - new java.lang.String[] { - "Attestors", "NextPageToken", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_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.ResourceProto.getDescriptor(); - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java deleted file mode 100644 index 9cb06a82ea41..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface ContinuousValidationEventOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Pod event.
-   * 
- * - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * - * - * @return Whether the podEvent field is set. - */ - boolean hasPodEvent(); - /** - * - * - *
-   * Pod event.
-   * 
- * - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * - * - * @return The podEvent. - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - getPodEvent(); - /** - * - * - *
-   * Pod event.
-   * 
- * - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEventOrBuilder - getPodEventOrBuilder(); - - /** - * - * - *
-   * Config error event.
-   * 
- * - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * - * - * @return Whether the configErrorEvent field is set. - */ - boolean hasConfigErrorEvent(); - /** - * - * - *
-   * Config error event.
-   * 
- * - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * - * - * @return The configErrorEvent. - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - getConfigErrorEvent(); - /** - * - * - *
-   * Config error event.
-   * 
- * - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder - getConfigErrorEventOrBuilder(); - - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.EventTypeCase - getEventTypeCase(); -} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java deleted file mode 100644 index 0911381b6100..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java +++ /dev/null @@ -1,199 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public final class ContinuousValidationLoggingProto { - private ContinuousValidationLoggingProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public 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_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\nLgoogle/cloud/binaryauthorization/v1bet" - + "a1/continuous_validation_logging.proto\022(" - + "google.cloud.binaryauthorization.v1beta1" - + "\032\037google/protobuf/timestamp.proto\"\352\016\n\031Co" - + "ntinuousValidationEvent\022u\n\tpod_event\030\001 \001" - + "(\0132`.google.cloud.binaryauthorization.v1" - + "beta1.ContinuousValidationEvent.Continuo" - + "usValidationPodEventH\000\022r\n\022config_error_e" - + "vent\030\004 \001(\0132T.google.cloud.binaryauthoriz" - + "ation.v1beta1.ContinuousValidationEvent." - + "ConfigErrorEventH\000\032\252\014\n\034ContinuousValidat" - + "ionPodEvent\022\025\n\rpod_namespace\030\007 \001(\t\022\013\n\003po" - + "d\030\001 \001(\t\022\023\n\013policy_name\030\010 \001(\t\022/\n\013deploy_t" - + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" - + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\022\212\001\n\007verdict\030\004 \001(\0162y.google.cloud.bin" - + "aryauthorization.v1beta1.ContinuousValid" - + "ationEvent.ContinuousValidationPodEvent." - + "PolicyConformanceVerdict\022}\n\006images\030\005 \003(\013" - + "2m.google.cloud.binaryauthorization.v1be" - + "ta1.ContinuousValidationEvent.Continuous" - + "ValidationPodEvent.ImageDetails\032\210\010\n\014Imag" - + "eDetails\022\r\n\005image\030\001 \001(\t\022\211\001\n\006result\030\002 \001(\016" - + "2y.google.cloud.binaryauthorization.v1be" - + "ta1.ContinuousValidationEvent.Continuous" - + "ValidationPodEvent.ImageDetails.AuditRes" - + "ult\022\023\n\013description\030\003 \001(\t\022\220\001\n\rcheck_resul" - + "ts\030\004 \003(\0132y.google.cloud.binaryauthorizat" - + "ion.v1beta1.ContinuousValidationEvent.Co" - + "ntinuousValidationPodEvent.ImageDetails." - + "CheckResult\032\362\004\n\013CheckResult\022\027\n\017check_set" - + "_index\030\001 \001(\t\022\026\n\016check_set_name\030\002 \001(\t\022\241\001\n" - + "\017check_set_scope\030\003 \001(\0132\207\001.google.cloud.b" - + "inaryauthorization.v1beta1.ContinuousVal" - + "idationEvent.ContinuousValidationPodEven" - + "t.ImageDetails.CheckResult.CheckSetScope" - + "\022\023\n\013check_index\030\004 \001(\t\022\022\n\ncheck_name\030\005 \001(" - + "\t\022\022\n\ncheck_type\030\006 \001(\t\022\230\001\n\007verdict\030\007 \001(\0162" - + "\206\001.google.cloud.binaryauthorization.v1be" - + "ta1.ContinuousValidationEvent.Continuous" - + "ValidationPodEvent.ImageDetails.CheckRes" - + "ult.CheckVerdict\022\023\n\013explanation\030\010 \001(\t\032^\n" - + "\rCheckSetScope\022$\n\032kubernetes_service_acc" - + "ount\030\001 \001(\tH\000\022\036\n\024kubernetes_namespace\030\002 \001" - + "(\tH\000B\007\n\005scope\"A\n\014CheckVerdict\022\035\n\031CHECK_V" - + "ERDICT_UNSPECIFIED\020\000\022\022\n\016NON_CONFORMANT\020\001" - + "\"@\n\013AuditResult\022\034\n\030AUDIT_RESULT_UNSPECIF" - + "IED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002\"[\n\030PolicyConf" - + "ormanceVerdict\022*\n&POLICY_CONFORMANCE_VER" - + "DICT_UNSPECIFIED\020\000\022\023\n\017VIOLATES_POLICY\020\001\032" - + "\'\n\020ConfigErrorEvent\022\023\n\013description\030\001 \001(\t" - + "B\014\n\nevent_typeB\271\002\n,com.google.cloud.bina" - + "ryauthorization.v1beta1B ContinuousValid" - + "ationLoggingProtoP\001Z^cloud.google.com/go" - + "/binaryauthorization/apiv1beta1/binaryau" - + "thorizationpb;binaryauthorizationpb\370\001\001\252\002" - + "(Google.Cloud.BinaryAuthorization.V1Beta" - + "1\312\002(Google\\Cloud\\BinaryAuthorization\\V1b" - + "eta1\352\002+Google::Cloud::BinaryAuthorizatio" - + "n::V1beta1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor, - new java.lang.String[] { - "PodEvent", "ConfigErrorEvent", "EventType", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor, - new java.lang.String[] { - "PodNamespace", "Pod", "PolicyName", "DeployTime", "EndTime", "Verdict", "Images", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor, - new java.lang.String[] { - "Image", "Result", "Description", "CheckResults", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor, - new java.lang.String[] { - "CheckSetIndex", - "CheckSetName", - "CheckSetScope", - "CheckIndex", - "CheckName", - "CheckType", - "Verdict", - "Explanation", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor, - new java.lang.String[] { - "KubernetesServiceAccount", "KubernetesNamespace", "Scope", - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor, - new java.lang.String[] { - "Description", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java deleted file mode 100644 index bffc8583c0af..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface DeleteAttestorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * - * 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/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java deleted file mode 100644 index abf2d1f7dea6..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface GetAttestorRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * - * 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/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java deleted file mode 100644 index 269920e381b3..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface GetPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
-   * in the format `projects/*/policy`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
-   * in the format `projects/*/policy`.
-   * 
- * - * - * 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/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java deleted file mode 100644 index a0d7aad18e99..000000000000 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface GetSystemPolicyRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The resource name, in the format `locations/*/policy`.
-   * Note that the system policy is not associated with a project.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The resource name, in the format `locations/*/policy`.
-   * Note that the system policy is not associated with a project.
-   * 
- * - * - * 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/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java index 8d9cbad17098..fc4dbf962622 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java +++ b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java @@ -28,6 +28,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.protobuf.Empty; diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java index 47b9d1b40c3c..edd511ac6377 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java +++ b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protos.google.cloud.binaryauthorization.v1.stub.SystemPolicyV1StubSettings; diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java index 9b971f9fb691..c458761e6012 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java +++ b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protos.google.cloud.binaryauthorization.v1.stub.ValidationHelperV1StubSettings; diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java index d5fe48dbf1ca..45210a20ae6f 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java +++ b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java @@ -32,6 +32,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/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java index 263795199588..78a570f8019d 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java +++ b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java @@ -29,6 +29,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/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java index 51d49cca5a61..ea7df57ebd83 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java +++ b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java @@ -28,6 +28,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/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java b/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java rename to owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java new file mode 100644 index 000000000000..450767d9893e --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java @@ -0,0 +1,927 @@ +package com.google.protos.google.cloud.binaryauthorization.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Google Cloud Management Service for Binary Authorization admission policies
+ * and attestation authorities.
+ * This API implements a REST model with the following objects:
+ * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+ * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/binaryauthorization/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BinauthzManagementServiceV1Grpc { + + private BinauthzManagementServiceV1Grpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicy", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPolicyMethod() { + io.grpc.MethodDescriptor getGetPolicyMethod; + if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { + BinauthzManagementServiceV1Grpc.getGetPolicyMethod = getGetPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance())) + .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("GetPolicy")) + .build(); + } + } + } + return getGetPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdatePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdatePolicyMethod() { + io.grpc.MethodDescriptor getUpdatePolicyMethod; + if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) == null) { + BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod = getUpdatePolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance())) + .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdatePolicy")) + .build(); + } + } + } + return getUpdatePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAttestor", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAttestorMethod() { + io.grpc.MethodDescriptor getCreateAttestorMethod; + if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) == null) { + BinauthzManagementServiceV1Grpc.getCreateAttestorMethod = getCreateAttestorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance())) + .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("CreateAttestor")) + .build(); + } + } + } + return getCreateAttestorMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttestor", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAttestorMethod() { + io.grpc.MethodDescriptor getGetAttestorMethod; + if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { + BinauthzManagementServiceV1Grpc.getGetAttestorMethod = getGetAttestorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance())) + .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("GetAttestor")) + .build(); + } + } + } + return getGetAttestorMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAttestor", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAttestorMethod() { + io.grpc.MethodDescriptor getUpdateAttestorMethod; + if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) == null) { + BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod = getUpdateAttestorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance())) + .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdateAttestor")) + .build(); + } + } + } + return getUpdateAttestorMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAttestorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAttestors", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAttestorsMethod() { + io.grpc.MethodDescriptor getListAttestorsMethod; + if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) == null) { + BinauthzManagementServiceV1Grpc.getListAttestorsMethod = getListAttestorsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("ListAttestors")) + .build(); + } + } + } + return getListAttestorsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAttestor", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAttestorMethod() { + io.grpc.MethodDescriptor getDeleteAttestorMethod; + if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) == null) { + BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod = getDeleteAttestorMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("DeleteAttestor")) + .build(); + } + } + } + return getDeleteAttestorMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BinauthzManagementServiceV1Stub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BinauthzManagementServiceV1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1Stub(channel, callOptions); + } + }; + return BinauthzManagementServiceV1Stub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BinauthzManagementServiceV1BlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BinauthzManagementServiceV1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); + } + }; + return BinauthzManagementServiceV1BlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BinauthzManagementServiceV1FutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BinauthzManagementServiceV1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1FutureStub(channel, callOptions); + } + }; + return BinauthzManagementServiceV1FutureStub.newStub(factory, channel); + } + + /** + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + default void getPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); + } + + /** + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + default void updatePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyMethod(), responseObserver); + } + + /** + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + default void createAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAttestorMethod(), responseObserver); + } + + /** + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + default void getAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttestorMethod(), responseObserver); + } + + /** + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + default void updateAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttestorMethod(), responseObserver); + } + + /** + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + default void listAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAttestorsMethod(), responseObserver); + } + + /** + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + default void deleteAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAttestorMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BinauthzManagementServiceV1. + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public static abstract class BinauthzManagementServiceV1ImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BinauthzManagementServiceV1Grpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BinauthzManagementServiceV1. + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public static final class BinauthzManagementServiceV1Stub + extends io.grpc.stub.AbstractAsyncStub { + private BinauthzManagementServiceV1Stub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BinauthzManagementServiceV1Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1Stub(channel, callOptions); + } + + /** + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + public void getPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + public void updatePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + public void createAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public void getAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public void updateAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + public void listAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public void deleteAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BinauthzManagementServiceV1. + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public static final class BinauthzManagementServiceV1BlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BinauthzManagementServiceV1BlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BinauthzManagementServiceV1BlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); + } + + /** + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy updatePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor createAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAttestorMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttestorMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor updateAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAttestorMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse listAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAttestorsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.protobuf.Empty deleteAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAttestorMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service BinauthzManagementServiceV1. + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public static final class BinauthzManagementServiceV1FutureStub + extends io.grpc.stub.AbstractFutureStub { + private BinauthzManagementServiceV1FutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BinauthzManagementServiceV1FutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1FutureStub(channel, callOptions); + } + + /** + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updatePolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAttestors( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_POLICY = 0; + private static final int METHODID_UPDATE_POLICY = 1; + private static final int METHODID_CREATE_ATTESTOR = 2; + private static final int METHODID_GET_ATTESTOR = 3; + private static final int METHODID_UPDATE_ATTESTOR = 4; + private static final int METHODID_LIST_ATTESTORS = 5; + private static final int METHODID_DELETE_ATTESTOR = 6; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_POLICY: + serviceImpl.getPolicy((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_POLICY: + serviceImpl.updatePolicy((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_ATTESTOR: + serviceImpl.createAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_ATTESTOR: + serviceImpl.getAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_ATTESTOR: + serviceImpl.updateAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ATTESTORS: + serviceImpl.listAttestors((com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_ATTESTOR: + serviceImpl.deleteAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( + service, METHODID_GET_POLICY))) + .addMethod( + getUpdatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( + service, METHODID_UPDATE_POLICY))) + .addMethod( + getCreateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( + service, METHODID_CREATE_ATTESTOR))) + .addMethod( + getGetAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( + service, METHODID_GET_ATTESTOR))) + .addMethod( + getUpdateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( + service, METHODID_UPDATE_ATTESTOR))) + .addMethod( + getListAttestorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse>( + service, METHODID_LIST_ATTESTORS))) + .addMethod( + getDeleteAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_ATTESTOR))) + .build(); + } + + private static abstract class BinauthzManagementServiceV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BinauthzManagementServiceV1BaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BinauthzManagementServiceV1"); + } + } + + private static final class BinauthzManagementServiceV1FileDescriptorSupplier + extends BinauthzManagementServiceV1BaseDescriptorSupplier { + BinauthzManagementServiceV1FileDescriptorSupplier() {} + } + + private static final class BinauthzManagementServiceV1MethodDescriptorSupplier + extends BinauthzManagementServiceV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BinauthzManagementServiceV1MethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BinauthzManagementServiceV1FileDescriptorSupplier()) + .addMethod(getGetPolicyMethod()) + .addMethod(getUpdatePolicyMethod()) + .addMethod(getCreateAttestorMethod()) + .addMethod(getGetAttestorMethod()) + .addMethod(getUpdateAttestorMethod()) + .addMethod(getListAttestorsMethod()) + .addMethod(getDeleteAttestorMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java new file mode 100644 index 000000000000..e4004e758d47 --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java @@ -0,0 +1,323 @@ +package com.google.protos.google.cloud.binaryauthorization.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * API for working with the system policy.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/binaryauthorization/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class SystemPolicyV1Grpc { + + private SystemPolicyV1Grpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1.SystemPolicyV1"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetSystemPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSystemPolicy", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetSystemPolicyMethod() { + io.grpc.MethodDescriptor getGetSystemPolicyMethod; + if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { + synchronized (SystemPolicyV1Grpc.class) { + if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { + SystemPolicyV1Grpc.getGetSystemPolicyMethod = getGetSystemPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance())) + .setSchemaDescriptor(new SystemPolicyV1MethodDescriptorSupplier("GetSystemPolicy")) + .build(); + } + } + } + return getGetSystemPolicyMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static SystemPolicyV1Stub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Stub(channel, callOptions); + } + }; + return SystemPolicyV1Stub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static SystemPolicyV1BlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1BlockingStub(channel, callOptions); + } + }; + return SystemPolicyV1BlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static SystemPolicyV1FutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1FutureStub(channel, callOptions); + } + }; + return SystemPolicyV1FutureStub.newStub(factory, channel); + } + + /** + *
+   * API for working with the system policy.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + default void getSystemPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSystemPolicyMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service SystemPolicyV1. + *
+   * API for working with the system policy.
+   * 
+ */ + public static abstract class SystemPolicyV1ImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return SystemPolicyV1Grpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1. + *
+   * API for working with the system policy.
+   * 
+ */ + public static final class SystemPolicyV1Stub + extends io.grpc.stub.AbstractAsyncStub { + private SystemPolicyV1Stub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SystemPolicyV1Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Stub(channel, callOptions); + } + + /** + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + public void getSystemPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1. + *
+   * API for working with the system policy.
+   * 
+ */ + public static final class SystemPolicyV1BlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private SystemPolicyV1BlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SystemPolicyV1BlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1BlockingStub(channel, callOptions); + } + + /** + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getSystemPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSystemPolicyMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1. + *
+   * API for working with the system policy.
+   * 
+ */ + public static final class SystemPolicyV1FutureStub + extends io.grpc.stub.AbstractFutureStub { + private SystemPolicyV1FutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SystemPolicyV1FutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1FutureStub(channel, callOptions); + } + + /** + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getSystemPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_SYSTEM_POLICY = 0; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_SYSTEM_POLICY: + serviceImpl.getSystemPolicy((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetSystemPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( + service, METHODID_GET_SYSTEM_POLICY))) + .build(); + } + + private static abstract class SystemPolicyV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + SystemPolicyV1BaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("SystemPolicyV1"); + } + } + + private static final class SystemPolicyV1FileDescriptorSupplier + extends SystemPolicyV1BaseDescriptorSupplier { + SystemPolicyV1FileDescriptorSupplier() {} + } + + private static final class SystemPolicyV1MethodDescriptorSupplier + extends SystemPolicyV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + SystemPolicyV1MethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (SystemPolicyV1Grpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new SystemPolicyV1FileDescriptorSupplier()) + .addMethod(getGetSystemPolicyMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java new file mode 100644 index 000000000000..21bc20e562d5 --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java @@ -0,0 +1,327 @@ +package com.google.protos.google.cloud.binaryauthorization.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * BinAuthz Attestor verification
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/binaryauthorization/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ValidationHelperV1Grpc { + + private ValidationHelperV1Grpc() {} + + public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1.ValidationHelperV1"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getValidateAttestationOccurrenceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ValidateAttestationOccurrence", + requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getValidateAttestationOccurrenceMethod() { + io.grpc.MethodDescriptor getValidateAttestationOccurrenceMethod; + if ((getValidateAttestationOccurrenceMethod = ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) == null) { + synchronized (ValidationHelperV1Grpc.class) { + if ((getValidateAttestationOccurrenceMethod = ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) == null) { + ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod = getValidateAttestationOccurrenceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ValidateAttestationOccurrence")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDefaultInstance())) + .setSchemaDescriptor(new ValidationHelperV1MethodDescriptorSupplier("ValidateAttestationOccurrence")) + .build(); + } + } + } + return getValidateAttestationOccurrenceMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ValidationHelperV1Stub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ValidationHelperV1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1Stub(channel, callOptions); + } + }; + return ValidationHelperV1Stub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ValidationHelperV1BlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ValidationHelperV1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1BlockingStub(channel, callOptions); + } + }; + return ValidationHelperV1BlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ValidationHelperV1FutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ValidationHelperV1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1FutureStub(channel, callOptions); + } + }; + return ValidationHelperV1FutureStub.newStub(factory, channel); + } + + /** + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + default void validateAttestationOccurrence(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getValidateAttestationOccurrenceMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service ValidationHelperV1. + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public static abstract class ValidationHelperV1ImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return ValidationHelperV1Grpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service ValidationHelperV1. + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public static final class ValidationHelperV1Stub + extends io.grpc.stub.AbstractAsyncStub { + private ValidationHelperV1Stub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ValidationHelperV1Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1Stub(channel, callOptions); + } + + /** + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + public void validateAttestationOccurrence(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service ValidationHelperV1. + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public static final class ValidationHelperV1BlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ValidationHelperV1BlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ValidationHelperV1BlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1BlockingStub(channel, callOptions); + } + + /** + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse validateAttestationOccurrence(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getValidateAttestationOccurrenceMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service ValidationHelperV1. + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public static final class ValidationHelperV1FutureStub + extends io.grpc.stub.AbstractFutureStub { + private ValidationHelperV1FutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ValidationHelperV1FutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1FutureStub(channel, callOptions); + } + + /** + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture validateAttestationOccurrence( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_VALIDATE_ATTESTATION_OCCURRENCE = 0; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_VALIDATE_ATTESTATION_OCCURRENCE: + serviceImpl.validateAttestationOccurrence((com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getValidateAttestationOccurrenceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse>( + service, METHODID_VALIDATE_ATTESTATION_OCCURRENCE))) + .build(); + } + + private static abstract class ValidationHelperV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ValidationHelperV1BaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ValidationHelperV1"); + } + } + + private static final class ValidationHelperV1FileDescriptorSupplier + extends ValidationHelperV1BaseDescriptorSupplier { + ValidationHelperV1FileDescriptorSupplier() {} + } + + private static final class ValidationHelperV1MethodDescriptorSupplier + extends ValidationHelperV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + ValidationHelperV1MethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ValidationHelperV1Grpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ValidationHelperV1FileDescriptorSupplier()) + .addMethod(getValidateAttestationOccurrenceMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java rename to owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java rename to owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java rename to owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java similarity index 60% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java rename to owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java index 89a38bb6d3b7..2de6c1f63c72 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java +++ b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java @@ -1,18 +1,3 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1/resources.proto @@ -20,73 +5,62 @@ public final class Resources { private Resources() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { } - public interface PolicyOrBuilder - extends + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface PolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.Policy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -94,16 +68,11 @@ public interface PolicyOrBuilder
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ int getGlobalPolicyEvaluationModeValue(); /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -111,100 +80,66 @@ public interface PolicyOrBuilder
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The globalPolicyEvaluationMode. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode - getGlobalPolicyEvaluationMode(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode(); /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern> + java.util.List getAdmissionWhitelistPatternsList(); /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - getAdmissionWhitelistPatterns(int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index); /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getAdmissionWhitelistPatternsCount(); /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder> + java.util.List getAdmissionWhitelistPatternsOrBuilderList(); /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder - getAdmissionWhitelistPatternsOrBuilder(int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( + int index); /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -215,14 +150,10 @@ public interface PolicyOrBuilder
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getClusterAdmissionRulesCount(); /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -233,20 +164,17 @@ public interface PolicyOrBuilder
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsClusterAdmissionRules( + java.lang.String key); + /** + * Use {@link #getClusterAdmissionRulesMap()} instead. */ - boolean containsClusterAdmissionRules(java.lang.String key); - /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getClusterAdmissionRules(); + java.util.Map + getClusterAdmissionRules(); /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -257,17 +185,11 @@ public interface PolicyOrBuilder
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getClusterAdmissionRulesMap(); + java.util.Map + getClusterAdmissionRulesMap(); /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -278,20 +200,14 @@ public interface PolicyOrBuilder
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getClusterAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue); +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -302,180 +218,130 @@ public interface PolicyOrBuilder
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getClusterAdmissionRulesOrThrow(java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrThrow( + java.lang.String key); /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ int getKubernetesNamespaceAdmissionRulesCount(); /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsKubernetesNamespaceAdmissionRules( + java.lang.String key); + /** + * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ - boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key); - /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesNamespaceAdmissionRules(); + java.util.Map + getKubernetesNamespaceAdmissionRules(); /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesNamespaceAdmissionRulesMap(); + java.util.Map + getKubernetesNamespaceAdmissionRulesMap(); /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue); +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( + java.lang.String key); /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ int getKubernetesServiceAccountAdmissionRulesCount(); /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsKubernetesServiceAccountAdmissionRules( + java.lang.String key); + /** + * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ - boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key); - /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesServiceAccountAdmissionRules(); + java.util.Map + getKubernetesServiceAccountAdmissionRules(); /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesServiceAccountAdmissionRulesMap(); + java.util.Map + getKubernetesServiceAccountAdmissionRulesMap(); /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue); +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( + java.lang.String key); /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -484,14 +350,10 @@ public interface PolicyOrBuilder
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ int getIstioServiceIdentityAdmissionRulesCount(); /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -500,20 +362,17 @@ public interface PolicyOrBuilder
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsIstioServiceIdentityAdmissionRules( + java.lang.String key); + /** + * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ - boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key); - /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getIstioServiceIdentityAdmissionRules(); + java.util.Map + getIstioServiceIdentityAdmissionRules(); /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -522,17 +381,11 @@ public interface PolicyOrBuilder
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getIstioServiceIdentityAdmissionRulesMap(); + java.util.Map + getIstioServiceIdentityAdmissionRulesMap(); /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -541,20 +394,14 @@ public interface PolicyOrBuilder
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue); +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -563,119 +410,84 @@ public interface PolicyOrBuilder
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( + java.lang.String key); /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the defaultAdmissionRule field is set. */ boolean hasDefaultAdmissionRule(); /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The defaultAdmissionRule. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getDefaultAdmissionRule(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultAdmissionRule(); /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder - getDefaultAdmissionRuleOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder(); /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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. Time when the policy was last updated.
      * 
* - * - * .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. Time when the policy was last updated.
      * 
* - * - * .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 [policy][google.cloud.binaryauthorization.v1.Policy] for container image binary authorization.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.Policy} */ - public static final class Policy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Policy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.Policy) PolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Policy.newBuilder() to construct. private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Policy() { name_ = ""; description_ = ""; @@ -685,18 +497,20 @@ private Policy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Policy(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -707,27 +521,24 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 9: return internalGetIstioServiceIdentityAdmissionRules(); 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.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder.class); } /** * Protobuf enum {@code google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode} */ - public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMessageEnum { + public enum GlobalPolicyEvaluationMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Not specified: DISABLE is assumed.
        * 
@@ -736,8 +547,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED(0), /** - * - * *
        * Enables system policy evaluation.
        * 
@@ -746,8 +555,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ ENABLE(1), /** - * - * *
        * Disables system policy evaluation.
        * 
@@ -759,8 +566,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe ; /** - * - * *
        * Not specified: DISABLE is assumed.
        * 
@@ -769,8 +574,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ public static final int GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Enables system policy evaluation.
        * 
@@ -779,8 +582,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ public static final int ENABLE_VALUE = 1; /** - * - * *
        * Disables system policy evaluation.
        * 
@@ -789,6 +590,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ public static final int DISABLE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -813,14 +615,10 @@ public static GlobalPolicyEvaluationMode valueOf(int value) { */ public static GlobalPolicyEvaluationMode forNumber(int value) { switch (value) { - case 0: - return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; - case 1: - return ENABLE; - case 2: - return DISABLE; - default: - return null; + case 0: return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; + case 1: return ENABLE; + case 2: return DISABLE; + default: return null; } } @@ -828,32 +626,29 @@ public static GlobalPolicyEvaluationMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + GlobalPolicyEvaluationMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GlobalPolicyEvaluationMode findValueByNumber(int number) { + return GlobalPolicyEvaluationMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GlobalPolicyEvaluationMode findValueByNumber(int number) { - return GlobalPolicyEvaluationMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDescriptor().getEnumTypes().get(0); } private static final GlobalPolicyEvaluationMode[] VALUES = values(); @@ -861,7 +656,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GlobalPolicyEvaluationMode 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; @@ -879,19 +675,15 @@ private GlobalPolicyEvaluationMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -900,30 +692,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; } } /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -932,18 +724,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -952,29 +740,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -985,8 +773,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int GLOBAL_POLICY_EVALUATION_MODE_FIELD_NUMBER = 7; private int globalPolicyEvaluationMode_ = 0; /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -994,19 +780,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override - public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -1014,173 +794,112 @@ public int getGlobalPolicyEvaluationModeValue() {
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The globalPolicyEvaluationMode. */ - @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode - getGlobalPolicyEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; } public static final int ADMISSION_WHITELIST_PATTERNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern> - admissionWhitelistPatterns_; + private java.util.List admissionWhitelistPatterns_; /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern> - getAdmissionWhitelistPatternsList() { + public java.util.List getAdmissionWhitelistPatternsList() { return admissionWhitelistPatterns_; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder> + public java.util.List getAdmissionWhitelistPatternsOrBuilderList() { return admissionWhitelistPatterns_; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAdmissionWhitelistPatternsCount() { return admissionWhitelistPatterns_.size(); } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - getAdmissionWhitelistPatterns(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { return admissionWhitelistPatterns_.get(index); } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder - getAdmissionWhitelistPatternsOrBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( + int index) { return admissionWhitelistPatterns_.get(index); } public static final int CLUSTER_ADMISSION_RULES_FIELD_NUMBER = 3; - private static final class ClusterAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - defaultEntry = + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule.getDefaultInstance()); + .newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - clusterAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - internalGetClusterAdmissionRules() { + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> clusterAdmissionRules_; + private com.google.protobuf.MapField + internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } return clusterAdmissionRules_; } - public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -1191,29 +910,23 @@ public int getClusterAdmissionRulesCount() {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsClusterAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getClusterAdmissionRulesMap()} instead. */ + /** + * Use {@link #getClusterAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getClusterAdmissionRules() { + public java.util.Map getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -1224,20 +937,13 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getClusterAdmissionRulesMap() { + public java.util.Map getClusterAdmissionRulesMap() { return internalGetClusterAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -1248,30 +954,20 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getClusterAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetClusterAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -1282,20 +978,14 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getClusterAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetClusterAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1303,143 +993,98 @@ public boolean containsClusterAdmissionRules(java.lang.String key) { } public static final int KUBERNETES_NAMESPACE_ADMISSION_RULES_FIELD_NUMBER = 10; - private static final class KubernetesNamespaceAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - defaultEntry = + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule.getDefaultInstance()); + .newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - kubernetesNamespaceAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - internalGetKubernetesNamespaceAdmissionRules() { + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesNamespaceAdmissionRules_; + private com.google.protobuf.MapField + internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesNamespaceAdmissionRules_; } - public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesNamespaceAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesNamespaceAdmissionRules() { + public java.util.Map getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1447,143 +1092,98 @@ public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { } public static final int KUBERNETES_SERVICE_ACCOUNT_ADMISSION_RULES_FIELD_NUMBER = 8; - private static final class KubernetesServiceAccountAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - defaultEntry = + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule.getDefaultInstance()); + .newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - kubernetesServiceAccountAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - internalGetKubernetesServiceAccountAdmissionRules() { + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesServiceAccountAdmissionRules_; + private com.google.protobuf.MapField + internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesServiceAccountAdmissionRules_; } - public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesServiceAccountAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesServiceAccountAdmissionRules() { + public java.util.Map getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1591,48 +1191,32 @@ public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String k } public static final int ISTIO_SERVICE_IDENTITY_ADMISSION_RULES_FIELD_NUMBER = 9; - private static final class IstioServiceIdentityAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - defaultEntry = + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule.getDefaultInstance()); + .newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - istioServiceIdentityAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - internalGetIstioServiceIdentityAdmissionRules() { + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> istioServiceIdentityAdmissionRules_; + private com.google.protobuf.MapField + internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } return istioServiceIdentityAdmissionRules_; } - public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1641,29 +1225,23 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIstioServiceIdentityAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ + /** + * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getIstioServiceIdentityAdmissionRules() { + public java.util.Map getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1672,20 +1250,13 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getIstioServiceIdentityAdmissionRulesMap() { + public java.util.Map getIstioServiceIdentityAdmissionRulesMap() { return internalGetIstioServiceIdentityAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1694,30 +1265,20 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1726,20 +1287,14 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1747,20 +1302,14 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) } public static final int DEFAULT_ADMISSION_RULE_FIELD_NUMBER = 4; - private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultAdmissionRule_; + private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultAdmissionRule_; /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the defaultAdmissionRule field is set. */ @java.lang.Override @@ -1768,61 +1317,39 @@ public boolean hasDefaultAdmissionRule() { return defaultAdmissionRule_ != null; } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The defaultAdmissionRule. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getDefaultAdmissionRule() { - return defaultAdmissionRule_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .getDefaultInstance() - : defaultAdmissionRule_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultAdmissionRule() { + return defaultAdmissionRule_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder - getDefaultAdmissionRuleOrBuilder() { - return defaultAdmissionRule_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .getDefaultInstance() - : defaultAdmissionRule_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { + return defaultAdmissionRule_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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 @@ -1830,16 +1357,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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 @@ -1847,15 +1369,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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() { @@ -1863,7 +1381,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1875,14 +1392,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { output.writeMessage(2, admissionWhitelistPatterns_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetClusterAdmissionRules(), ClusterAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -1896,23 +1415,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } - if (globalPolicyEvaluationMode_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED - .getNumber()) { + if (globalPolicyEvaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(7, globalPolicyEvaluationMode_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetKubernetesServiceAccountAdmissionRules(), KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetIstioServiceIdentityAdmissionRules(), IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry, 9); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetKubernetesNamespaceAdmissionRules(), KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -1930,93 +1449,63 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, admissionWhitelistPatterns_.get(i)); - } - for (java.util.Map.Entry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - entry : internalGetClusterAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - clusterAdmissionRules__ = - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, clusterAdmissionRules__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, admissionWhitelistPatterns_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetClusterAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + clusterAdmissionRules__ = ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, clusterAdmissionRules__); } if (defaultAdmissionRule_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDefaultAdmissionRule()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDefaultAdmissionRule()); } 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(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } - if (globalPolicyEvaluationMode_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(7, globalPolicyEvaluationMode_); - } - for (java.util.Map.Entry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - entry : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - kubernetesServiceAccountAdmissionRules__ = - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, kubernetesServiceAccountAdmissionRules__); - } - for (java.util.Map.Entry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - entry : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - istioServiceIdentityAdmissionRules__ = - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, istioServiceIdentityAdmissionRules__); - } - for (java.util.Map.Entry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - entry : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - kubernetesNamespaceAdmissionRules__ = - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, kubernetesNamespaceAdmissionRules__); + if (globalPolicyEvaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, globalPolicyEvaluationMode_); + } + for (java.util.Map.Entry entry + : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + kubernetesServiceAccountAdmissionRules__ = KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, kubernetesServiceAccountAdmissionRules__); + } + for (java.util.Map.Entry entry + : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + istioServiceIdentityAdmissionRules__ = IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, istioServiceIdentityAdmissionRules__); + } + for (java.util.Map.Entry entry + : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + kubernetesNamespaceAdmissionRules__ = KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, kubernetesNamespaceAdmissionRules__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2026,35 +1515,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.protos.google.cloud.binaryauthorization.v1.Resources.Policy)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other = - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (globalPolicyEvaluationMode_ != other.globalPolicyEvaluationMode_) return false; - if (!getAdmissionWhitelistPatternsList().equals(other.getAdmissionWhitelistPatternsList())) - return false; - if (!internalGetClusterAdmissionRules().equals(other.internalGetClusterAdmissionRules())) - return false; - if (!internalGetKubernetesNamespaceAdmissionRules() - .equals(other.internalGetKubernetesNamespaceAdmissionRules())) return false; - if (!internalGetKubernetesServiceAccountAdmissionRules() - .equals(other.internalGetKubernetesServiceAccountAdmissionRules())) return false; - if (!internalGetIstioServiceIdentityAdmissionRules() - .equals(other.internalGetIstioServiceIdentityAdmissionRules())) return false; + if (!getAdmissionWhitelistPatternsList() + .equals(other.getAdmissionWhitelistPatternsList())) return false; + if (!internalGetClusterAdmissionRules().equals( + other.internalGetClusterAdmissionRules())) return false; + if (!internalGetKubernetesNamespaceAdmissionRules().equals( + other.internalGetKubernetesNamespaceAdmissionRules())) return false; + if (!internalGetKubernetesServiceAccountAdmissionRules().equals( + other.internalGetKubernetesServiceAccountAdmissionRules())) return false; + if (!internalGetIstioServiceIdentityAdmissionRules().equals( + other.internalGetIstioServiceIdentityAdmissionRules())) return false; if (hasDefaultAdmissionRule() != other.hasDefaultAdmissionRule()) return false; if (hasDefaultAdmissionRule()) { - if (!getDefaultAdmissionRule().equals(other.getDefaultAdmissionRule())) return false; + if (!getDefaultAdmissionRule() + .equals(other.getDefaultAdmissionRule())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2107,95 +1598,89 @@ public int hashCode() { } public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2205,26 +1690,24 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A [policy][google.cloud.binaryauthorization.v1.Policy] for container image binary authorization.
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.Policy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.Policy) com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -2235,12 +1718,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 9: return internalGetIstioServiceIdentityAdmissionRules(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableClusterAdmissionRules(); @@ -2251,29 +1735,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { case 9: return internalGetMutableIstioServiceIdentityAdmissionRules(); 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.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder - .class); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2306,22 +1789,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources - .internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance(); } @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy build() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = - buildPartial(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2330,22 +1810,17 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy bu @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = - new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(this); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { + private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { if (admissionWhitelistPatternsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = - java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); bitField0_ = (bitField0_ & ~0x00000008); } result.admissionWhitelistPatterns_ = admissionWhitelistPatterns_; @@ -2354,8 +1829,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -2371,29 +1845,26 @@ private void buildPartial0( result.clusterAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.kubernetesNamespaceAdmissionRules_ = - internalGetKubernetesNamespaceAdmissionRules(); + result.kubernetesNamespaceAdmissionRules_ = internalGetKubernetesNamespaceAdmissionRules(); result.kubernetesNamespaceAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.kubernetesServiceAccountAdmissionRules_ = - internalGetKubernetesServiceAccountAdmissionRules(); + result.kubernetesServiceAccountAdmissionRules_ = internalGetKubernetesServiceAccountAdmissionRules(); result.kubernetesServiceAccountAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.istioServiceIdentityAdmissionRules_ = - internalGetIstioServiceIdentityAdmissionRules(); + result.istioServiceIdentityAdmissionRules_ = internalGetIstioServiceIdentityAdmissionRules(); result.istioServiceIdentityAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.defaultAdmissionRule_ = - defaultAdmissionRuleBuilder_ == null - ? defaultAdmissionRule_ - : defaultAdmissionRuleBuilder_.build(); + result.defaultAdmissionRule_ = defaultAdmissionRuleBuilder_ == null + ? defaultAdmissionRule_ + : defaultAdmissionRuleBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = - updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } @@ -2401,54 +1872,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.Policy) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2480,26 +1943,25 @@ public Builder mergeFrom( admissionWhitelistPatternsBuilder_ = null; admissionWhitelistPatterns_ = other.admissionWhitelistPatterns_; bitField0_ = (bitField0_ & ~0x00000008); - admissionWhitelistPatternsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAdmissionWhitelistPatternsFieldBuilder() - : null; + admissionWhitelistPatternsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdmissionWhitelistPatternsFieldBuilder() : null; } else { admissionWhitelistPatternsBuilder_.addAllMessages(other.admissionWhitelistPatterns_); } } } - internalGetMutableClusterAdmissionRules() - .mergeFrom(other.internalGetClusterAdmissionRules()); + internalGetMutableClusterAdmissionRules().mergeFrom( + other.internalGetClusterAdmissionRules()); bitField0_ |= 0x00000010; - internalGetMutableKubernetesNamespaceAdmissionRules() - .mergeFrom(other.internalGetKubernetesNamespaceAdmissionRules()); + internalGetMutableKubernetesNamespaceAdmissionRules().mergeFrom( + other.internalGetKubernetesNamespaceAdmissionRules()); bitField0_ |= 0x00000020; - internalGetMutableKubernetesServiceAccountAdmissionRules() - .mergeFrom(other.internalGetKubernetesServiceAccountAdmissionRules()); + internalGetMutableKubernetesServiceAccountAdmissionRules().mergeFrom( + other.internalGetKubernetesServiceAccountAdmissionRules()); bitField0_ |= 0x00000040; - internalGetMutableIstioServiceIdentityAdmissionRules() - .mergeFrom(other.internalGetIstioServiceIdentityAdmissionRules()); + internalGetMutableIstioServiceIdentityAdmissionRules().mergeFrom( + other.internalGetIstioServiceIdentityAdmissionRules()); bitField0_ |= 0x00000080; if (other.hasDefaultAdmissionRule()) { mergeDefaultAdmissionRule(other.getDefaultAdmissionRule()); @@ -2533,135 +1995,90 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - m = - input.readMessage( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.parser(), - extensionRegistry); - if (admissionWhitelistPatternsBuilder_ == null) { - ensureAdmissionWhitelistPatternsIsMutable(); - admissionWhitelistPatterns_.add(m); - } else { - admissionWhitelistPatternsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule> - clusterAdmissionRules__ = - input.readMessage( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableClusterAdmissionRules() - .getMutableMap() - .put(clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: - { - input.readMessage( - getDefaultAdmissionRuleFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 50 - case 56: - { - globalPolicyEvaluationMode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 56 - case 66: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule> - kubernetesServiceAccountAdmissionRules__ = - input.readMessage( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableKubernetesServiceAccountAdmissionRules() - .getMutableMap() - .put( - kubernetesServiceAccountAdmissionRules__.getKey(), - kubernetesServiceAccountAdmissionRules__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule> - istioServiceIdentityAdmissionRules__ = - input.readMessage( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableIstioServiceIdentityAdmissionRules() - .getMutableMap() - .put( - istioServiceIdentityAdmissionRules__.getKey(), - istioServiceIdentityAdmissionRules__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule> - kubernetesNamespaceAdmissionRules__ = - input.readMessage( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableKubernetesNamespaceAdmissionRules() - .getMutableMap() - .put( - kubernetesNamespaceAdmissionRules__.getKey(), - kubernetesNamespaceAdmissionRules__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern m = + input.readMessage( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.parser(), + extensionRegistry); + if (admissionWhitelistPatternsBuilder_ == null) { + ensureAdmissionWhitelistPatternsIsMutable(); + admissionWhitelistPatterns_.add(m); + } else { + admissionWhitelistPatternsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + clusterAdmissionRules__ = input.readMessage( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableClusterAdmissionRules().getMutableMap().put( + clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: { + input.readMessage( + getDefaultAdmissionRuleFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 50 + case 56: { + globalPolicyEvaluationMode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 66: { + com.google.protobuf.MapEntry + kubernetesServiceAccountAdmissionRules__ = input.readMessage( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put( + kubernetesServiceAccountAdmissionRules__.getKey(), kubernetesServiceAccountAdmissionRules__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: { + com.google.protobuf.MapEntry + istioServiceIdentityAdmissionRules__ = input.readMessage( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put( + istioServiceIdentityAdmissionRules__.getKey(), istioServiceIdentityAdmissionRules__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: { + com.google.protobuf.MapEntry + kubernetesNamespaceAdmissionRules__ = input.readMessage( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put( + kubernetesNamespaceAdmissionRules__.getKey(), kubernetesNamespaceAdmissionRules__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2671,26 +2088,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2699,22 +2113,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2722,37 +2135,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2762,22 +2168,18 @@ public Builder clearName() { return this; } /** - * - * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2787,20 +2189,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -2809,21 +2209,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2831,35 +2230,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2869,21 +2261,17 @@ public Builder clearDescription() { return this; } /** - * - * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2893,8 +2281,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int globalPolicyEvaluationMode_ = 0; /** - * - * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2902,19 +2288,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
        * has no effect when specified inside a global admission policy.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override - public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** - * - * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2922,10 +2302,7 @@ public int getGlobalPolicyEvaluationModeValue() {
        * has no effect when specified inside a global admission policy.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for globalPolicyEvaluationMode to set. * @return This builder for chaining. */ @@ -2936,8 +2313,6 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) { return this; } /** - * - * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2945,29 +2320,15 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) {
        * has no effect when specified inside a global admission policy.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The globalPolicyEvaluationMode. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode - getGlobalPolicyEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode.UNRECOGNIZED - : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; } /** - * - * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2975,17 +2336,11 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) {
        * has no effect when specified inside a global admission policy.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param value The globalPolicyEvaluationMode to set. * @return This builder for chaining. */ - public Builder setGlobalPolicyEvaluationMode( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .GlobalPolicyEvaluationMode - value) { + public Builder setGlobalPolicyEvaluationMode(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode value) { if (value == null) { throw new NullPointerException(); } @@ -2995,8 +2350,6 @@ public Builder setGlobalPolicyEvaluationMode( return this; } /** - * - * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -3004,10 +2357,7 @@ public Builder setGlobalPolicyEvaluationMode(
        * has no effect when specified inside a global admission policy.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearGlobalPolicyEvaluationMode() { @@ -3017,47 +2367,28 @@ public Builder clearGlobalPolicyEvaluationMode() { return this; } - private java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern> - admissionWhitelistPatterns_ = java.util.Collections.emptyList(); - + private java.util.List admissionWhitelistPatterns_ = + java.util.Collections.emptyList(); private void ensureAdmissionWhitelistPatternsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = - new java.util.ArrayList< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern>(admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = new java.util.ArrayList(admissionWhitelistPatterns_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder> - admissionWhitelistPatternsBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder> admissionWhitelistPatternsBuilder_; /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern> - getAdmissionWhitelistPatternsList() { + public java.util.List getAdmissionWhitelistPatternsList() { if (admissionWhitelistPatternsBuilder_ == null) { return java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); } else { @@ -3065,17 +2396,13 @@ private void ensureAdmissionWhitelistPatternsIsMutable() { } } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAdmissionWhitelistPatternsCount() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -3085,21 +2412,15 @@ public int getAdmissionWhitelistPatternsCount() { } } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - getAdmissionWhitelistPatterns(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { return admissionWhitelistPatterns_.get(index); } else { @@ -3107,22 +2428,16 @@ public int getAdmissionWhitelistPatternsCount() { } } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAdmissionWhitelistPatterns( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - value) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3136,23 +2451,16 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAdmissionWhitelistPatterns( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - .Builder - builderForValue) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.set(index, builderForValue.build()); @@ -3163,21 +2471,15 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addAdmissionWhitelistPatterns( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - value) { + public Builder addAdmissionWhitelistPatterns(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3191,22 +2493,16 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAdmissionWhitelistPatterns( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - value) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3220,22 +2516,16 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAdmissionWhitelistPatterns( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - .Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(builderForValue.build()); @@ -3246,23 +2536,16 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAdmissionWhitelistPatterns( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - .Builder - builderForValue) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(index, builderForValue.build()); @@ -3273,24 +2556,16 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAdmissionWhitelistPatterns( - java.lang.Iterable< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern> - values) { + java.lang.Iterable values) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -3302,17 +2577,13 @@ public Builder addAllAdmissionWhitelistPatterns( return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAdmissionWhitelistPatterns() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -3325,17 +2596,13 @@ public Builder clearAdmissionWhitelistPatterns() { return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { @@ -3348,63 +2615,45 @@ public Builder removeAdmissionWhitelistPatterns(int index) { return this; } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.Builder - getAdmissionWhitelistPatternsBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder getAdmissionWhitelistPatternsBuilder( + int index) { return getAdmissionWhitelistPatternsFieldBuilder().getBuilder(index); } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder - getAdmissionWhitelistPatternsOrBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( + int index) { if (admissionWhitelistPatternsBuilder_ == null) { - return admissionWhitelistPatterns_.get(index); - } else { + return admissionWhitelistPatterns_.get(index); } else { return admissionWhitelistPatternsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder> - getAdmissionWhitelistPatternsOrBuilderList() { + public java.util.List + getAdmissionWhitelistPatternsOrBuilderList() { if (admissionWhitelistPatternsBuilder_ != null) { return admissionWhitelistPatternsBuilder_.getMessageOrBuilderList(); } else { @@ -3412,85 +2661,51 @@ public Builder removeAdmissionWhitelistPatterns(int index) { } } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.Builder - addAdmissionWhitelistPatternsBuilder() { - return getAdmissionWhitelistPatternsFieldBuilder() - .addBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder() { + return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance()); } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.Builder - addAdmissionWhitelistPatternsBuilder(int index) { - return getAdmissionWhitelistPatternsFieldBuilder() - .addBuilder( - index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder( + int index) { + return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( + index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance()); } /** - * - * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.Builder> - getAdmissionWhitelistPatternsBuilderList() { + public java.util.List + getAdmissionWhitelistPatternsBuilderList() { return getAdmissionWhitelistPatternsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsFieldBuilder() { if (admissionWhitelistPatternsBuilder_ == null) { - admissionWhitelistPatternsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPatternOrBuilder>( + admissionWhitelistPatternsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder>( admissionWhitelistPatterns_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -3501,13 +2716,8 @@ public Builder removeAdmissionWhitelistPatterns(int index) { } private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - clusterAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> clusterAdmissionRules_; + private com.google.protobuf.MapField internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3515,15 +2725,11 @@ public Builder removeAdmissionWhitelistPatterns(int index) { } return clusterAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { - clusterAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); + clusterAdmissionRules_ = com.google.protobuf.MapField.newMapField( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!clusterAdmissionRules_.isMutable()) { clusterAdmissionRules_ = clusterAdmissionRules_.copy(); @@ -3532,13 +2738,10 @@ public Builder removeAdmissionWhitelistPatterns(int index) { onChanged(); return clusterAdmissionRules_; } - public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** - * - * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -3549,29 +2752,23 @@ public int getClusterAdmissionRulesCount() {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsClusterAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getClusterAdmissionRulesMap()} instead. */ + /** + * Use {@link #getClusterAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getClusterAdmissionRules() { + public java.util.Map getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** - * - * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -3582,20 +2779,13 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getClusterAdmissionRulesMap() { + public java.util.Map getClusterAdmissionRulesMap() { return internalGetClusterAdmissionRules().getMap(); } /** - * - * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -3606,30 +2796,20 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getClusterAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetClusterAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -3640,34 +2820,26 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getClusterAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetClusterAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearClusterAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableClusterAdmissionRules().getMutableMap().clear(); + internalGetMutableClusterAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -3678,29 +2850,25 @@ public Builder clearClusterAdmissionRules() {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeClusterAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusterAdmissionRules().getMutableMap().remove(key); + public Builder removeClusterAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusterAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + public java.util.Map getMutableClusterAdmissionRules() { bitField0_ |= 0x00000010; return internalGetMutableClusterAdmissionRules().getMutableMap(); } /** - * - * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -3711,26 +2879,19 @@ public Builder removeClusterAdmissionRules(java.lang.String key) {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putClusterAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusterAdmissionRules().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusterAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -3741,28 +2902,19 @@ public Builder putClusterAdmissionRules(
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllClusterAdmissionRules( - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - values) { - internalGetMutableClusterAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableClusterAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - kubernetesNamespaceAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesNamespaceAdmissionRules_; + private com.google.protobuf.MapField internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3770,15 +2922,11 @@ public Builder putAllClusterAdmissionRules( } return kubernetesNamespaceAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { - kubernetesNamespaceAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesNamespaceAdmissionRules_ = com.google.protobuf.MapField.newMapField( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesNamespaceAdmissionRules_.isMutable()) { kubernetesNamespaceAdmissionRules_ = kubernetesNamespaceAdmissionRules_.copy(); @@ -3787,202 +2935,148 @@ public Builder putAllClusterAdmissionRules( onChanged(); return kubernetesNamespaceAdmissionRules_; } - public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** - * - * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesNamespaceAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesNamespaceAdmissionRules() { + public java.util.Map getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** - * - * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** - * - * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearKubernetesNamespaceAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().clear(); + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeKubernetesNamespaceAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().remove(key); + public Builder removeKubernetesNamespaceAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + public java.util.Map getMutableKubernetesNamespaceAdmissionRules() { bitField0_ |= 0x00000020; return internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap(); } /** - * - * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putKubernetesNamespaceAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllKubernetesNamespaceAdmissionRules( - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - values) { - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - kubernetesServiceAccountAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesServiceAccountAdmissionRules_; + private com.google.protobuf.MapField internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3990,15 +3084,11 @@ public Builder putAllKubernetesNamespaceAdmissionRules( } return kubernetesServiceAccountAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { - kubernetesServiceAccountAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesServiceAccountAdmissionRules_ = com.google.protobuf.MapField.newMapField( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesServiceAccountAdmissionRules_.isMutable()) { kubernetesServiceAccountAdmissionRules_ = kubernetesServiceAccountAdmissionRules_.copy(); @@ -4007,202 +3097,148 @@ public Builder putAllKubernetesNamespaceAdmissionRules( onChanged(); return kubernetesServiceAccountAdmissionRules_; } - public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** - * - * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesServiceAccountAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesServiceAccountAdmissionRules() { + public java.util.Map getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** - * - * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** - * - * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearKubernetesServiceAccountAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().clear(); + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeKubernetesServiceAccountAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().remove(key); + public Builder removeKubernetesServiceAccountAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + public java.util.Map getMutableKubernetesServiceAccountAdmissionRules() { bitField0_ |= 0x00000040; return internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap(); } /** - * - * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putKubernetesServiceAccountAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllKubernetesServiceAccountAdmissionRules( - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - values) { - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - istioServiceIdentityAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> istioServiceIdentityAdmissionRules_; + private com.google.protobuf.MapField internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -4210,15 +3246,11 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( } return istioServiceIdentityAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { - istioServiceIdentityAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); + istioServiceIdentityAdmissionRules_ = com.google.protobuf.MapField.newMapField( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!istioServiceIdentityAdmissionRules_.isMutable()) { istioServiceIdentityAdmissionRules_ = istioServiceIdentityAdmissionRules_.copy(); @@ -4227,13 +3259,10 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( onChanged(); return istioServiceIdentityAdmissionRules_; } - public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** - * - * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -4242,29 +3271,23 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIstioServiceIdentityAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ - @java.lang.Override + /** + * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. + */ + @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getIstioServiceIdentityAdmissionRules() { + public java.util.Map getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** - * - * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -4273,20 +3296,13 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - getIstioServiceIdentityAdmissionRulesMap() { + public java.util.Map getIstioServiceIdentityAdmissionRulesMap() { return internalGetIstioServiceIdentityAdmissionRules().getMap(); } /** - * - * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -4295,30 +3311,20 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -4327,34 +3333,26 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearIstioServiceIdentityAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().clear(); + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -4363,29 +3361,25 @@ public Builder clearIstioServiceIdentityAdmissionRules() {
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeIstioServiceIdentityAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().remove(key); + public Builder removeIstioServiceIdentityAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + public java.util.Map getMutableIstioServiceIdentityAdmissionRules() { bitField0_ |= 0x00000080; return internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap(); } /** - * - * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -4394,26 +3388,19 @@ public Builder removeIstioServiceIdentityAdmissionRules(java.lang.String key) {
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putIstioServiceIdentityAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000080; return this; } /** - * - * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -4422,84 +3409,56 @@ public Builder putIstioServiceIdentityAdmissionRules(
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllIstioServiceIdentityAdmissionRules( - java.util.Map< - java.lang.String, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> - values) { - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } - private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - defaultAdmissionRule_; + private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultAdmissionRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRuleOrBuilder> - defaultAdmissionRuleBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder> defaultAdmissionRuleBuilder_; /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the defaultAdmissionRule field is set. */ public boolean hasDefaultAdmissionRule() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The defaultAdmissionRule. */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getDefaultAdmissionRule() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultAdmissionRule() { if (defaultAdmissionRuleBuilder_ == null) { - return defaultAdmissionRule_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .getDefaultInstance() - : defaultAdmissionRule_; + return defaultAdmissionRule_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } else { return defaultAdmissionRuleBuilder_.getMessage(); } } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDefaultAdmissionRule( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { + public Builder setDefaultAdmissionRule(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4513,20 +3472,15 @@ public Builder setDefaultAdmissionRule( return this; } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDefaultAdmissionRule( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder builderForValue) { if (defaultAdmissionRuleBuilder_ == null) { defaultAdmissionRule_ = builderForValue.build(); } else { @@ -4537,25 +3491,18 @@ public Builder setDefaultAdmissionRule( return this; } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDefaultAdmissionRule( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { + public Builder mergeDefaultAdmissionRule(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && defaultAdmissionRule_ != null - && defaultAdmissionRule_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + defaultAdmissionRule_ != null && + defaultAdmissionRule_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()) { getDefaultAdmissionRuleBuilder().mergeFrom(value); } else { defaultAdmissionRule_ = value; @@ -4568,16 +3515,12 @@ public Builder mergeDefaultAdmissionRule( return this; } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDefaultAdmissionRule() { bitField0_ = (bitField0_ & ~0x00000100); @@ -4590,73 +3533,51 @@ public Builder clearDefaultAdmissionRule() { return this; } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder - getDefaultAdmissionRuleBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder getDefaultAdmissionRuleBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDefaultAdmissionRuleFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder - getDefaultAdmissionRuleOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { if (defaultAdmissionRuleBuilder_ != null) { return defaultAdmissionRuleBuilder_.getMessageOrBuilder(); } else { - return defaultAdmissionRule_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .getDefaultInstance() - : defaultAdmissionRule_; + return defaultAdmissionRule_ == null ? + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } } /** - * - * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRuleOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder> getDefaultAdmissionRuleFieldBuilder() { if (defaultAdmissionRuleBuilder_ == null) { - defaultAdmissionRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRuleOrBuilder>( - getDefaultAdmissionRule(), getParentForChildren(), isClean()); + defaultAdmissionRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder>( + getDefaultAdmissionRule(), + getParentForChildren(), + isClean()); defaultAdmissionRule_ = null; } return defaultAdmissionRuleBuilder_; @@ -4664,58 +3585,39 @@ public Builder clearDefaultAdmissionRule() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * Output only. Time when the policy was last updated.
        * 
* - * - * .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 ((bitField0_ & 0x00000200) != 0); } /** - * - * *
        * Output only. Time when the policy was last updated.
        * 
* - * - * .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. Time when the policy was last updated.
        * 
* - * - * .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) { @@ -4731,17 +3633,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time when the policy was last updated.
        * 
* - * - * .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(); } else { @@ -4752,21 +3651,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Time when the policy was last updated.
        * 
* - * - * .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 (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -4779,15 +3674,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time when the policy was last updated.
        * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000200); @@ -4800,15 +3691,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Output only. Time when the policy was last updated.
        * 
* - * - * .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() { bitField0_ |= 0x00000200; @@ -4816,53 +3703,40 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Time when the policy was last updated.
        * 
* - * - * .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. Time when the policy was last updated.
        * 
* - * - * .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_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4875,45 +3749,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.Policy) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.Policy) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4925,20 +3795,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AdmissionWhitelistPatternOrBuilder - extends + public interface AdmissionWhitelistPatternOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -4947,13 +3814,10 @@ public interface AdmissionWhitelistPatternOrBuilder
      * 
* * string name_pattern = 1; - * * @return The namePattern. */ java.lang.String getNamePattern(); /** - * - * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -4962,14 +3826,12 @@ public interface AdmissionWhitelistPatternOrBuilder
      * 
* * string name_pattern = 1; - * * @return The bytes for namePattern. */ - com.google.protobuf.ByteString getNamePatternBytes(); + com.google.protobuf.ByteString + getNamePatternBytes(); } /** - * - * *
    * An [admission allowlist pattern][google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern] exempts images
    * from checks by [admission rules][google.cloud.binaryauthorization.v1.AdmissionRule].
@@ -4977,50 +3839,43 @@ public interface AdmissionWhitelistPatternOrBuilder
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern}
    */
-  public static final class AdmissionWhitelistPattern extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AdmissionWhitelistPattern extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern)
       AdmissionWhitelistPatternOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AdmissionWhitelistPattern.newBuilder() to construct.
     private AdmissionWhitelistPattern(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AdmissionWhitelistPattern() {
       namePattern_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AdmissionWhitelistPattern();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                  .AdmissionWhitelistPattern.class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                  .AdmissionWhitelistPattern.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder.class);
     }
 
     public static final int NAME_PATTERN_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object namePattern_ = "";
     /**
-     *
-     *
      * 
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -5029,7 +3884,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string name_pattern = 1; - * * @return The namePattern. */ @java.lang.Override @@ -5038,15 +3892,14 @@ public java.lang.String getNamePattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; } } /** - * - * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -5055,15 +3908,16 @@ public java.lang.String getNamePattern() {
      * 
* * string name_pattern = 1; - * * @return The bytes for namePattern. */ @java.lang.Override - public com.google.protobuf.ByteString getNamePatternBytes() { + public com.google.protobuf.ByteString + getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namePattern_ = b; return b; } else { @@ -5072,7 +3926,6 @@ public com.google.protobuf.ByteString getNamePatternBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5084,7 +3937,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namePattern_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namePattern_); } @@ -5108,21 +3962,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.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - other = - (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern) - obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern) obj; - if (!getNamePattern().equals(other.getNamePattern())) return false; + if (!getNamePattern() + .equals(other.getNamePattern())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5141,114 +3989,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5258,8 +4082,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An [admission allowlist pattern][google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern] exempts images
      * from checks by [admission rules][google.cloud.binaryauthorization.v1.AdmissionRule].
@@ -5267,37 +4089,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern)
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .AdmissionWhitelistPatternOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                    .AdmissionWhitelistPattern.class,
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                    .AdmissionWhitelistPattern.Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder.class);
       }
 
-      // Construct using
-      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.newBuilder()
-      private Builder() {}
+      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5307,25 +4125,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources
-              .AdmissionWhitelistPattern
-          getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .AdmissionWhitelistPattern.getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources
-              .AdmissionWhitelistPattern
-          build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
-            result = buildPartial();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern build() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5333,23 +4145,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources
-              .AdmissionWhitelistPattern
-          buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
-            result =
-                new com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                    .AdmissionWhitelistPattern(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
-              result) {
+      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.namePattern_ = namePattern_;
@@ -5360,59 +4163,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources
-                .AdmissionWhitelistPattern) {
-          return mergeFrom(
-              (com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                      .AdmissionWhitelistPattern)
-                  other);
+        if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern) {
+          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
-              other) {
-        if (other
-            == com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                .AdmissionWhitelistPattern.getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern other) {
+        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance()) return this;
         if (!other.getNamePattern().isEmpty()) {
           namePattern_ = other.namePattern_;
           bitField0_ |= 0x00000001;
@@ -5444,19 +4234,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  namePattern_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                namePattern_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5466,13 +4254,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object namePattern_ = "";
       /**
-       *
-       *
        * 
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -5481,13 +4266,13 @@ public Builder mergeFrom(
        * 
* * string name_pattern = 1; - * * @return The namePattern. */ public java.lang.String getNamePattern() { java.lang.Object ref = namePattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; @@ -5496,8 +4281,6 @@ public java.lang.String getNamePattern() { } } /** - * - * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -5506,14 +4289,15 @@ public java.lang.String getNamePattern() {
        * 
* * string name_pattern = 1; - * * @return The bytes for namePattern. */ - public com.google.protobuf.ByteString getNamePatternBytes() { + public com.google.protobuf.ByteString + getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namePattern_ = b; return b; } else { @@ -5521,8 +4305,6 @@ public com.google.protobuf.ByteString getNamePatternBytes() { } } /** - * - * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -5531,22 +4313,18 @@ public com.google.protobuf.ByteString getNamePatternBytes() {
        * 
* * string name_pattern = 1; - * * @param value The namePattern to set. * @return This builder for chaining. */ - public Builder setNamePattern(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNamePattern( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -5555,7 +4333,6 @@ public Builder setNamePattern(java.lang.String value) {
        * 
* * string name_pattern = 1; - * * @return This builder for chaining. */ public Builder clearNamePattern() { @@ -5565,8 +4342,6 @@ public Builder clearNamePattern() { return this; } /** - * - * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -5575,21 +4350,18 @@ public Builder clearNamePattern() {
        * 
* * string name_pattern = 1; - * * @param value The bytes for namePattern to set. * @return This builder for chaining. */ - public Builder setNamePatternBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNamePatternBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5602,48 +4374,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionWhitelistPattern - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionWhitelistPattern parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionWhitelistPattern parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5655,50 +4420,36 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AdmissionRuleOrBuilder - extends + public interface AdmissionRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.AdmissionRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** - * - * *
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The evaluationMode. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode - getEvaluationMode(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode getEvaluationMode(); /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -5710,15 +4461,12 @@ public interface AdmissionRuleOrBuilder
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requireAttestationsBy. */ - java.util.List getRequireAttestationsByList(); + java.util.List + getRequireAttestationsByList(); /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -5730,15 +4478,11 @@ public interface AdmissionRuleOrBuilder
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requireAttestationsBy. */ int getRequireAttestationsByCount(); /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -5750,16 +4494,12 @@ public interface AdmissionRuleOrBuilder
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ java.lang.String getRequireAttestationsBy(int index); /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -5771,47 +4511,33 @@ public interface AdmissionRuleOrBuilder
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - com.google.protobuf.ByteString getRequireAttestationsByBytes(int index); + com.google.protobuf.ByteString + getRequireAttestationsByBytes(int index); /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for enforcementMode. */ int getEnforcementModeValue(); /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enforcementMode. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode - getEnforcementMode(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode getEnforcementMode(); } /** - * - * *
    * An [admission rule][google.cloud.binaryauthorization.v1.AdmissionRule] specifies either that all container images
    * used in a pod creation request must be attested to by one or more
@@ -5824,49 +4550,48 @@ public interface AdmissionRuleOrBuilder
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionRule}
    */
-  public static final class AdmissionRule extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AdmissionRule extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.AdmissionRule)
       AdmissionRuleOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AdmissionRule.newBuilder() to construct.
     private AdmissionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AdmissionRule() {
       evaluationMode_ = 0;
-      requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      requireAttestationsBy_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       enforcementMode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AdmissionRule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder
-                  .class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder.class);
     }
 
-    /** Protobuf enum {@code google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode} */
-    public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
+    /**
+     * Protobuf enum {@code google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode}
+     */
+    public enum EvaluationMode
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Do not use.
        * 
@@ -5875,8 +4600,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ EVALUATION_MODE_UNSPECIFIED(0), /** - * - * *
        * This rule allows all all pod creations.
        * 
@@ -5885,8 +4608,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ ALWAYS_ALLOW(1), /** - * - * *
        * This rule allows a pod creation if all the attestors listed in
        * 'require_attestations_by' have valid attestations for all of the
@@ -5897,8 +4618,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       REQUIRE_ATTESTATION(2),
       /**
-       *
-       *
        * 
        * This rule denies all pod creations.
        * 
@@ -5910,8 +4629,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Do not use.
        * 
@@ -5920,8 +4637,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * This rule allows all all pod creations.
        * 
@@ -5930,8 +4645,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALWAYS_ALLOW_VALUE = 1; /** - * - * *
        * This rule allows a pod creation if all the attestors listed in
        * 'require_attestations_by' have valid attestations for all of the
@@ -5942,8 +4655,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int REQUIRE_ATTESTATION_VALUE = 2;
       /**
-       *
-       *
        * 
        * This rule denies all pod creations.
        * 
@@ -5952,6 +4663,7 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALWAYS_DENY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -5976,48 +4688,41 @@ public static EvaluationMode valueOf(int value) { */ public static EvaluationMode forNumber(int value) { switch (value) { - case 0: - return EVALUATION_MODE_UNSPECIFIED; - case 1: - return ALWAYS_ALLOW; - case 2: - return REQUIRE_ATTESTATION; - case 3: - return ALWAYS_DENY; - default: - return null; + case 0: return EVALUATION_MODE_UNSPECIFIED; + case 1: return ALWAYS_ALLOW; + case 2: return REQUIRE_ATTESTATION; + case 3: return ALWAYS_DENY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EvaluationMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EvaluationMode findValueByNumber(int number) { + return EvaluationMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EvaluationMode findValueByNumber(int number) { - return EvaluationMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDescriptor().getEnumTypes().get(0); } private static final EvaluationMode[] VALUES = values(); @@ -6025,7 +4730,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static EvaluationMode 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; @@ -6043,8 +4749,6 @@ private EvaluationMode(int value) { } /** - * - * *
      * Defines the possible actions when a pod creation is denied by an admission
      * rule.
@@ -6052,10 +4756,9 @@ private EvaluationMode(int value) {
      *
      * Protobuf enum {@code google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode}
      */
-    public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
+    public enum EnforcementMode
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Do not use.
        * 
@@ -6064,8 +4767,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ ENFORCEMENT_MODE_UNSPECIFIED(0), /** - * - * *
        * Enforce the admission rule by blocking the pod creation.
        * 
@@ -6074,8 +4775,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ ENFORCED_BLOCK_AND_AUDIT_LOG(1), /** - * - * *
        * Dryrun mode: Audit logging only.  This will allow the pod creation as if
        * the admission request had specified break-glass.
@@ -6088,8 +4787,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * Do not use.
        * 
@@ -6098,8 +4795,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENFORCEMENT_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Enforce the admission rule by blocking the pod creation.
        * 
@@ -6108,8 +4803,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENFORCED_BLOCK_AND_AUDIT_LOG_VALUE = 1; /** - * - * *
        * Dryrun mode: Audit logging only.  This will allow the pod creation as if
        * the admission request had specified break-glass.
@@ -6119,6 +4812,7 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int DRYRUN_AUDIT_LOG_ONLY_VALUE = 2;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -6143,14 +4837,10 @@ public static EnforcementMode valueOf(int value) {
        */
       public static EnforcementMode forNumber(int value) {
         switch (value) {
-          case 0:
-            return ENFORCEMENT_MODE_UNSPECIFIED;
-          case 1:
-            return ENFORCED_BLOCK_AND_AUDIT_LOG;
-          case 2:
-            return DRYRUN_AUDIT_LOG_ONLY;
-          default:
-            return null;
+          case 0: return ENFORCEMENT_MODE_UNSPECIFIED;
+          case 1: return ENFORCED_BLOCK_AND_AUDIT_LOG;
+          case 2: return DRYRUN_AUDIT_LOG_ONLY;
+          default: return null;
         }
       }
 
@@ -6158,32 +4848,29 @@ public static EnforcementMode forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          EnforcementMode> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public EnforcementMode findValueByNumber(int number) {
+                return EnforcementMode.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public EnforcementMode findValueByNumber(int number) {
-                  return EnforcementMode.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
-            .getDescriptor()
-            .getEnumTypes()
-            .get(1);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDescriptor().getEnumTypes().get(1);
       }
 
       private static final EnforcementMode[] VALUES = values();
@@ -6191,7 +4878,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static EnforcementMode 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;
@@ -6211,57 +4899,34 @@ private EnforcementMode(int value) {
     public static final int EVALUATION_MODE_FIELD_NUMBER = 1;
     private int evaluationMode_ = 0;
     /**
-     *
-     *
      * 
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The evaluationMode. */ - @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode - getEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode.forNumber(evaluationMode_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode getEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; } public static final int REQUIRE_ATTESTATIONS_BY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -6273,17 +4938,14 @@ public int getEvaluationModeValue() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList + getRequireAttestationsByList() { return requireAttestationsBy_; } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -6295,17 +4957,13 @@ public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -6317,9 +4975,7 @@ public int getRequireAttestationsByCount() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -6327,8 +4983,6 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -6340,64 +4994,42 @@ public java.lang.String getRequireAttestationsBy(int index) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString + getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } public static final int ENFORCEMENT_MODE_FIELD_NUMBER = 3; private int enforcementMode_ = 0; /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override - public int getEnforcementModeValue() { + @java.lang.Override public int getEnforcementModeValue() { return enforcementMode_; } /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enforcementMode. */ - @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode - getEnforcementMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode.forNumber(enforcementMode_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode getEnforcementMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6409,21 +5041,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (evaluationMode_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode.EVALUATION_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (evaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, evaluationMode_); } for (int i = 0; i < requireAttestationsBy_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, requireAttestationsBy_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requireAttestationsBy_.getRaw(i)); } - if (enforcementMode_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED - .getNumber()) { + if (enforcementMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, enforcementMode_); } getUnknownFields().writeTo(output); @@ -6435,11 +5061,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (evaluationMode_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode.EVALUATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, evaluationMode_); + if (evaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, evaluationMode_); } { int dataSize = 0; @@ -6449,11 +5073,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getRequireAttestationsByList().size(); } - if (enforcementMode_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, enforcementMode_); + if (enforcementMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, enforcementMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6463,19 +5085,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.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other = - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) obj; if (evaluationMode_ != other.evaluationMode_) return false; - if (!getRequireAttestationsByList().equals(other.getRequireAttestationsByList())) - return false; + if (!getRequireAttestationsByList() + .equals(other.getRequireAttestationsByList())) return false; if (enforcementMode_ != other.enforcementMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6501,101 +5120,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6605,8 +5213,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An [admission rule][google.cloud.binaryauthorization.v1.AdmissionRule] specifies either that all container images
      * used in a pod creation request must be attested to by one or more
@@ -6619,62 +5225,58 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionRule}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.AdmissionRule)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class,
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
-                    .Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder.class);
       }
 
-      // Construct using
-      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.newBuilder()
-      private Builder() {}
+      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         evaluationMode_ = 0;
-        requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        requireAttestationsBy_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         enforcementMode_ = 0;
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
-          getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
-            .getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result =
-            buildPartial();
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -6682,19 +5284,14 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
-          buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result =
-            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result) {
+      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.evaluationMode_ = evaluationMode_;
@@ -6712,56 +5309,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) {
-          return mergeFrom(
-              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)
-                  other);
+        if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) {
+          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other) {
-        if (other
-            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other) {
+        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()) return this;
         if (other.evaluationMode_ != 0) {
           setEvaluationModeValue(other.getEvaluationModeValue());
         }
@@ -6804,32 +5391,28 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  evaluationMode_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureRequireAttestationsByIsMutable();
-                  requireAttestationsBy_.add(s);
-                  break;
-                } // case 18
-              case 24:
-                {
-                  enforcementMode_ = input.readEnum();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 24
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                evaluationMode_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureRequireAttestationsByIsMutable();
+                requireAttestationsBy_.add(s);
+                break;
+              } // case 18
+              case 24: {
+                enforcementMode_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6839,38 +5422,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int evaluationMode_ = 0;
       /**
-       *
-       *
        * 
        * Required. How this admission rule will be evaluated.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
        * Required. How this admission rule will be evaluated.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ @@ -6881,49 +5452,28 @@ public Builder setEvaluationModeValue(int value) { return this; } /** - * - * *
        * Required. How this admission rule will be evaluated.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The evaluationMode. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode - getEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode.forNumber(evaluationMode_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode.UNRECOGNIZED - : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode getEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; } /** - * - * *
        * Required. How this admission rule will be evaluated.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EvaluationMode - value) { + public Builder setEvaluationMode(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } @@ -6933,16 +5483,11 @@ public Builder setEvaluationMode( return this; } /** - * - * *
        * Required. How this admission rule will be evaluated.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEvaluationMode() { @@ -6954,17 +5499,13 @@ public Builder clearEvaluationMode() { private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureRequireAttestationsByIsMutable() { if (!requireAttestationsBy_.isModifiable()) { - requireAttestationsBy_ = - new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); + requireAttestationsBy_ = new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); } bitField0_ |= 0x00000002; } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -6976,19 +5517,15 @@ private void ensureRequireAttestationsByIsMutable() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList + getRequireAttestationsByList() { requireAttestationsBy_.makeImmutable(); return requireAttestationsBy_; } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7000,18 +5537,13 @@ public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7023,10 +5555,7 @@ public int getRequireAttestationsByCount() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -7034,8 +5563,6 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7047,19 +5574,15 @@ public java.lang.String getRequireAttestationsBy(int index) {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString + getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7071,18 +5594,14 @@ public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The requireAttestationsBy to set. * @return This builder for chaining. */ - public Builder setRequireAttestationsBy(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequireAttestationsBy( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.set(index, value); bitField0_ |= 0x00000002; @@ -7090,8 +5609,6 @@ public Builder setRequireAttestationsBy(int index, java.lang.String value) { return this; } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7103,17 +5620,13 @@ public Builder setRequireAttestationsBy(int index, java.lang.String value) {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRequireAttestationsBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); bitField0_ |= 0x00000002; @@ -7121,8 +5634,6 @@ public Builder addRequireAttestationsBy(java.lang.String value) { return this; } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7134,23 +5645,20 @@ public Builder addRequireAttestationsBy(java.lang.String value) {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param values The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addAllRequireAttestationsBy(java.lang.Iterable values) { + public Builder addAllRequireAttestationsBy( + java.lang.Iterable values) { ensureRequireAttestationsByIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requireAttestationsBy_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requireAttestationsBy_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7162,22 +5670,17 @@ public Builder addAllRequireAttestationsBy(java.lang.Iterable
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRequireAttestationsBy() { - requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + requireAttestationsBy_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -7189,17 +5692,13 @@ public Builder clearRequireAttestationsBy() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRequireAttestationsByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); @@ -7210,33 +5709,22 @@ public Builder addRequireAttestationsByBytes(com.google.protobuf.ByteString valu private int enforcementMode_ = 0; /** - * - * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override - public int getEnforcementModeValue() { + @java.lang.Override public int getEnforcementModeValue() { return enforcementMode_; } /** - * - * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for enforcementMode to set. * @return This builder for chaining. */ @@ -7247,50 +5735,28 @@ public Builder setEnforcementModeValue(int value) { return this; } /** - * - * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enforcementMode. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode - getEnforcementMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode.forNumber(enforcementMode_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode.UNRECOGNIZED - : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode getEnforcementMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; } /** - * - * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enforcementMode to set. * @return This builder for chaining. */ - public Builder setEnforcementMode( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - .EnforcementMode - value) { + public Builder setEnforcementMode(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode value) { if (value == null) { throw new NullPointerException(); } @@ -7300,16 +5766,11 @@ public Builder setEnforcementMode( return this; } /** - * - * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEnforcementMode() { @@ -7318,7 +5779,6 @@ public Builder clearEnforcementMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7331,46 +5791,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.AdmissionRule) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.AdmissionRule) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AdmissionRule - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7382,161 +5837,120 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AttestorOrBuilder - extends + public interface AttestorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.Attestor) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; * @return Whether the userOwnedGrafeasNote field is set. */ boolean hasUserOwnedGrafeasNote(); /** - * - * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; * @return The userOwnedGrafeasNote. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - getUserOwnedGrafeasNote(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getUserOwnedGrafeasNote(); /** - * - * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder - getUserOwnedGrafeasNoteOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder getUserOwnedGrafeasNoteOrBuilder(); /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.AttestorTypeCase - getAttestorTypeCase(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.AttestorTypeCase getAttestorTypeCase(); } /** - * - * *
    * An [attestor][google.cloud.binaryauthorization.v1.Attestor] that attests to container image
    * artifacts. An existing attestor cannot be modified except where
@@ -7545,16 +5959,15 @@ public interface AttestorOrBuilder
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.Attestor}
    */
-  public static final class Attestor extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Attestor extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.Attestor)
       AttestorOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Attestor.newBuilder() to construct.
     private Attestor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Attestor() {
       name_ = "";
       description_ = "";
@@ -7562,39 +5975,33 @@ private Attestor() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Attestor();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder
-                  .class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder.class);
     }
 
     private int attestorTypeCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object attestorType_;
-
     public enum AttestorTypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       USER_OWNED_GRAFEAS_NOTE(3),
       ATTESTORTYPE_NOT_SET(0);
       private final int value;
-
       private AttestorTypeCase(int value) {
         this.value = value;
       }
@@ -7610,38 +6017,32 @@ public static AttestorTypeCase valueOf(int value) {
 
       public static AttestorTypeCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return USER_OWNED_GRAFEAS_NOTE;
-          case 0:
-            return ATTESTORTYPE_NOT_SET;
-          default:
-            return null;
+          case 3: return USER_OWNED_GRAFEAS_NOTE;
+          case 0: return ATTESTORTYPE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public AttestorTypeCase getAttestorTypeCase() {
-      return AttestorTypeCase.forNumber(attestorTypeCase_);
+    public AttestorTypeCase
+    getAttestorTypeCase() {
+      return AttestorTypeCase.forNumber(
+          attestorTypeCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -7650,30 +6051,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 resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7682,19 +6083,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -7703,30 +6100,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -7736,16 +6133,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int USER_OWNED_GRAFEAS_NOTE_FIELD_NUMBER = 3; /** - * - * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; * @return Whether the userOwnedGrafeasNote field is set. */ @java.lang.Override @@ -7753,66 +6146,45 @@ public boolean hasUserOwnedGrafeasNote() { return attestorTypeCase_ == 3; } /** - * - * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; * @return The userOwnedGrafeasNote. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - getUserOwnedGrafeasNote() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getUserOwnedGrafeasNote() { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote) - attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); } /** - * - * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNoteOrBuilder - getUserOwnedGrafeasNoteOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder getUserOwnedGrafeasNoteOrBuilder() { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote) - attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); } public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -7820,16 +6192,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -7837,15 +6204,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -7853,7 +6216,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7865,15 +6227,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (attestorTypeCase_ == 3) { - output.writeMessage( - 3, - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) - attestorType_); + output.writeMessage(3, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_); } if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); @@ -7894,15 +6254,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (attestorTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote) - attestorType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -7915,25 +6272,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.protos.google.cloud.binaryauthorization.v1.Resources.Attestor)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other = - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getAttestorTypeCase().equals(other.getAttestorTypeCase())) return false; switch (attestorTypeCase_) { case 3: - if (!getUserOwnedGrafeasNote().equals(other.getUserOwnedGrafeasNote())) return false; + if (!getUserOwnedGrafeasNote() + .equals(other.getUserOwnedGrafeasNote())) return false; break; case 0: default: @@ -7970,101 +6329,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8074,8 +6422,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An [attestor][google.cloud.binaryauthorization.v1.Attestor] that attests to container image
      * artifacts. An existing attestor cannot be modified except where
@@ -8084,35 +6430,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.Attestor}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.Attestor)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class,
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder
-                    .class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder.class);
       }
 
-      // Construct using
-      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.newBuilder()
-      private Builder() {}
+      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8133,22 +6477,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
-          getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
-            .getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result =
-            buildPartial();
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -8156,20 +6497,15 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
-          buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result =
-            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
+      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.name_ = name_;
@@ -8178,16 +6514,17 @@ private void buildPartial0(
           result.description_ = description_;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.updateTime_ =
-              updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+          result.updateTime_ = updateTimeBuilder_ == null
+              ? updateTime_
+              : updateTimeBuilder_.build();
         }
       }
 
-      private void buildPartialOneofs(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
+      private void buildPartialOneofs(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
         result.attestorTypeCase_ = attestorTypeCase_;
         result.attestorType_ = this.attestorType_;
-        if (attestorTypeCase_ == 3 && userOwnedGrafeasNoteBuilder_ != null) {
+        if (attestorTypeCase_ == 3 &&
+            userOwnedGrafeasNoteBuilder_ != null) {
           result.attestorType_ = userOwnedGrafeasNoteBuilder_.build();
         }
       }
@@ -8196,54 +6533,46 @@ private void buildPartialOneofs(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) {
-          return mergeFrom(
-              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) other);
+        if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) {
+          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other) {
-        if (other
-            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other) {
+        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -8258,15 +6587,13 @@ public Builder mergeFrom(
           mergeUpdateTime(other.getUpdateTime());
         }
         switch (other.getAttestorTypeCase()) {
-          case USER_OWNED_GRAFEAS_NOTE:
-            {
-              mergeUserOwnedGrafeasNote(other.getUserOwnedGrafeasNote());
-              break;
-            }
-          case ATTESTORTYPE_NOT_SET:
-            {
-              break;
-            }
+          case USER_OWNED_GRAFEAS_NOTE: {
+            mergeUserOwnedGrafeasNote(other.getUserOwnedGrafeasNote());
+            break;
+          }
+          case ATTESTORTYPE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -8294,38 +6621,36 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  name_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 26:
-                {
-                  input.readMessage(
-                      getUserOwnedGrafeasNoteFieldBuilder().getBuilder(), extensionRegistry);
-                  attestorTypeCase_ = 3;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              case 50:
-                {
-                  description_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 50
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 26: {
+                input.readMessage(
+                    getUserOwnedGrafeasNoteFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                attestorTypeCase_ = 3;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getUpdateTimeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              case 50: {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 50
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8335,12 +6660,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int attestorTypeCase_ = 0;
       private java.lang.Object attestorType_;
-
-      public AttestorTypeCase getAttestorTypeCase() {
-        return AttestorTypeCase.forNumber(attestorTypeCase_);
+      public AttestorTypeCase
+          getAttestorTypeCase() {
+        return AttestorTypeCase.forNumber(
+            attestorTypeCase_);
       }
 
       public Builder clearAttestorType() {
@@ -8354,21 +6679,19 @@ public Builder clearAttestorType() {
 
       private java.lang.Object name_ = "";
       /**
-       *
-       *
        * 
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8377,22 +6700,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -8400,37 +6722,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -8440,22 +6755,18 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -8465,21 +6776,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -8488,22 +6797,21 @@ public java.lang.String getDescription() { } } /** - * - * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -8511,37 +6819,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -8551,22 +6852,18 @@ public Builder clearDescription() { return this; } /** - * - * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -8575,24 +6872,14 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNoteOrBuilder> - userOwnedGrafeasNoteBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder> userOwnedGrafeasNoteBuilder_; /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; * @return Whether the userOwnedGrafeasNote field is set. */ @java.lang.Override @@ -8600,53 +6887,37 @@ public boolean hasUserOwnedGrafeasNote() { return attestorTypeCase_ == 3; } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; * @return The userOwnedGrafeasNote. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - getUserOwnedGrafeasNote() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getUserOwnedGrafeasNote() { if (userOwnedGrafeasNoteBuilder_ == null) { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote) - attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); } else { if (attestorTypeCase_ == 3) { return userOwnedGrafeasNoteBuilder_.getMessage(); } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); } } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ - public Builder setUserOwnedGrafeasNote( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - value) { + public Builder setUserOwnedGrafeasNote(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote value) { if (userOwnedGrafeasNoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8660,21 +6931,15 @@ public Builder setUserOwnedGrafeasNote( return this; } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ public Builder setUserOwnedGrafeasNote( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder builderForValue) { if (userOwnedGrafeasNoteBuilder_ == null) { attestorType_ = builderForValue.build(); onChanged(); @@ -8685,33 +6950,19 @@ public Builder setUserOwnedGrafeasNote( return this; } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ - public Builder mergeUserOwnedGrafeasNote( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - value) { + public Builder mergeUserOwnedGrafeasNote(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote value) { if (userOwnedGrafeasNoteBuilder_ == null) { - if (attestorTypeCase_ == 3 - && attestorType_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote.getDefaultInstance()) { - attestorType_ = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .newBuilder( - (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote) - attestorType_) - .mergeFrom(value) - .buildPartial(); + if (attestorTypeCase_ == 3 && + attestorType_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance()) { + attestorType_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.newBuilder((com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_) + .mergeFrom(value).buildPartial(); } else { attestorType_ = value; } @@ -8727,16 +6978,12 @@ public Builder mergeUserOwnedGrafeasNote( return this; } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ public Builder clearUserOwnedGrafeasNote() { if (userOwnedGrafeasNoteBuilder_ == null) { @@ -8755,86 +7002,53 @@ public Builder clearUserOwnedGrafeasNote() { return this; } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .Builder - getUserOwnedGrafeasNoteBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder getUserOwnedGrafeasNoteBuilder() { return getUserOwnedGrafeasNoteFieldBuilder().getBuilder(); } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNoteOrBuilder - getUserOwnedGrafeasNoteOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder getUserOwnedGrafeasNoteOrBuilder() { if ((attestorTypeCase_ == 3) && (userOwnedGrafeasNoteBuilder_ != null)) { return userOwnedGrafeasNoteBuilder_.getMessageOrBuilder(); } else { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote) - attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); } } /** - * - * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; - * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNoteOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder> getUserOwnedGrafeasNoteFieldBuilder() { if (userOwnedGrafeasNoteBuilder_ == null) { if (!(attestorTypeCase_ == 3)) { - attestorType_ = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - .getDefaultInstance(); + attestorType_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); } - userOwnedGrafeasNoteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNoteOrBuilder>( - (com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote) - attestorType_, + userOwnedGrafeasNoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder>( + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_, getParentForChildren(), isClean()); attestorType_ = null; @@ -8846,58 +7060,39 @@ public Builder clearUserOwnedGrafeasNote() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -8913,17 +7108,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -8934,21 +7126,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -8961,15 +7149,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -8982,15 +7166,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -8998,53 +7178,40 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
        * Output only. Time when the attestor was last updated.
        * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9057,45 +7224,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.Attestor) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.Attestor) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Attestor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Attestor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9107,20 +7270,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UserOwnedGrafeasNoteOrBuilder - extends + public interface UserOwnedGrafeasNoteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -9132,13 +7292,10 @@ public interface UserOwnedGrafeasNoteOrBuilder
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The noteReference. */ java.lang.String getNoteReference(); /** - * - * *
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -9150,14 +7307,12 @@ public interface UserOwnedGrafeasNoteOrBuilder
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for noteReference. */ - com.google.protobuf.ByteString getNoteReferenceBytes(); + com.google.protobuf.ByteString + getNoteReferenceBytes(); /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9170,16 +7325,11 @@ public interface UserOwnedGrafeasNoteOrBuilder
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> + java.util.List getPublicKeysList(); /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9192,15 +7342,10 @@ public interface UserOwnedGrafeasNoteOrBuilder
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys( - int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys(int index); /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9213,14 +7358,10 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getPublicKeysCount(); /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9233,18 +7374,11 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder> + java.util.List getPublicKeysOrBuilderList(); /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9257,16 +7391,12 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder - getPublicKeysOrBuilder(int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( + int index); /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -9279,16 +7409,11 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The delegationServiceAccountEmail. */ java.lang.String getDelegationServiceAccountEmail(); /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -9301,17 +7426,13 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for delegationServiceAccountEmail. */ - com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getDelegationServiceAccountEmailBytes(); } /** - * - * *
    * An [user owned Grafeas note][google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote] references a Grafeas
    * Attestation.Authority Note created by the user.
@@ -9319,16 +7440,15 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote}
    */
-  public static final class UserOwnedGrafeasNote extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class UserOwnedGrafeasNote extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote)
       UserOwnedGrafeasNoteOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use UserOwnedGrafeasNote.newBuilder() to construct.
     private UserOwnedGrafeasNote(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private UserOwnedGrafeasNote() {
       noteReference_ = "";
       publicKeys_ = java.util.Collections.emptyList();
@@ -9337,34 +7457,28 @@ private UserOwnedGrafeasNote() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new UserOwnedGrafeasNote();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-                  .class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-                  .Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder.class);
     }
 
     public static final int NOTE_REFERENCE_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object noteReference_ = "";
     /**
-     *
-     *
      * 
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -9376,7 +7490,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The noteReference. */ @java.lang.Override @@ -9385,15 +7498,14 @@ public java.lang.String getNoteReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; } } /** - * - * *
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -9405,15 +7517,16 @@ public java.lang.String getNoteReference() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for noteReference. */ @java.lang.Override - public com.google.protobuf.ByteString getNoteReferenceBytes() { + public com.google.protobuf.ByteString + getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); noteReference_ = b; return b; } else { @@ -9422,14 +7535,9 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() { } public static final int PUBLIC_KEYS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> - publicKeys_; + private java.util.List publicKeys_; /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9442,19 +7550,13 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> - getPublicKeysList() { + public java.util.List getPublicKeysList() { return publicKeys_; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9467,21 +7569,14 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder> + public java.util.List getPublicKeysOrBuilderList() { return publicKeys_; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9494,17 +7589,13 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getPublicKeysCount() { return publicKeys_.size(); } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9517,18 +7608,13 @@ public int getPublicKeysCount() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - getPublicKeys(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys(int index) { return publicKeys_.get(index); } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -9541,24 +7627,18 @@ public int getPublicKeysCount() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder - getPublicKeysOrBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( + int index) { return publicKeys_.get(index); } public static final int DELEGATION_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object delegationServiceAccountEmail_ = ""; /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -9571,10 +7651,7 @@ public int getPublicKeysCount() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The delegationServiceAccountEmail. */ @java.lang.Override @@ -9583,15 +7660,14 @@ public java.lang.String getDelegationServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; } } /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -9604,18 +7680,17 @@ public java.lang.String getDelegationServiceAccountEmail() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for delegationServiceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -9624,7 +7699,6 @@ public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9636,7 +7710,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(noteReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, noteReference_); } @@ -9644,8 +7719,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, publicKeys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delegationServiceAccountEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, delegationServiceAccountEmail_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, delegationServiceAccountEmail_); } getUnknownFields().writeTo(output); } @@ -9660,12 +7734,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, noteReference_); } for (int i = 0; i < publicKeys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, publicKeys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, publicKeys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delegationServiceAccountEmail_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 3, delegationServiceAccountEmail_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, delegationServiceAccountEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9675,21 +7748,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.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote other = - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) - obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) obj; - if (!getNoteReference().equals(other.getNoteReference())) return false; - if (!getPublicKeysList().equals(other.getPublicKeysList())) return false; - if (!getDelegationServiceAccountEmail().equals(other.getDelegationServiceAccountEmail())) - return false; + if (!getNoteReference() + .equals(other.getNoteReference())) return false; + if (!getPublicKeysList() + .equals(other.getPublicKeysList())) return false; + if (!getDelegationServiceAccountEmail() + .equals(other.getDelegationServiceAccountEmail())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -9714,114 +7785,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9831,8 +7878,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An [user owned Grafeas note][google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote] references a Grafeas
      * Attestation.Authority Note created by the user.
@@ -9840,37 +7885,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote)
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .UserOwnedGrafeasNoteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-                    .class,
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-                    .Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder.class);
       }
 
-      // Construct using
-      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.newBuilder()
-      private Builder() {}
+      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9888,23 +7929,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-          getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-            .getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-          build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-            result = buildPartial();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote build() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -9912,23 +7949,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-          buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-            result =
-                new com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                    .UserOwnedGrafeasNote(this);
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-              result) {
+      private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result) {
         if (publicKeysBuilder_ == null) {
           if (((bitField0_ & 0x00000002) != 0)) {
             publicKeys_ = java.util.Collections.unmodifiableList(publicKeys_);
@@ -9940,9 +7969,7 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-              result) {
+      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.noteReference_ = noteReference_;
@@ -9956,57 +7983,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) {
-          return mergeFrom(
-              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)
-                  other);
+        if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) {
+          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-              other) {
-        if (other
-            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote other) {
+        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance()) return this;
         if (!other.getNoteReference().isEmpty()) {
           noteReference_ = other.noteReference_;
           bitField0_ |= 0x00000001;
@@ -10030,10 +8046,9 @@ public Builder mergeFrom(
               publicKeysBuilder_ = null;
               publicKeys_ = other.publicKeys_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              publicKeysBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getPublicKeysFieldBuilder()
-                      : null;
+              publicKeysBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getPublicKeysFieldBuilder() : null;
             } else {
               publicKeysBuilder_.addAllMessages(other.publicKeys_);
             }
@@ -10070,41 +8085,35 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  noteReference_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-                      m =
-                          input.readMessage(
-                              com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                                  .AttestorPublicKey.parser(),
-                              extensionRegistry);
-                  if (publicKeysBuilder_ == null) {
-                    ensurePublicKeysIsMutable();
-                    publicKeys_.add(m);
-                  } else {
-                    publicKeysBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 18
-              case 26:
-                {
-                  delegationServiceAccountEmail_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                noteReference_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey m =
+                    input.readMessage(
+                        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.parser(),
+                        extensionRegistry);
+                if (publicKeysBuilder_ == null) {
+                  ensurePublicKeysIsMutable();
+                  publicKeys_.add(m);
+                } else {
+                  publicKeysBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+              case 26: {
+                delegationServiceAccountEmail_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10114,13 +8123,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object noteReference_ = "";
       /**
-       *
-       *
        * 
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -10132,13 +8138,13 @@ public Builder mergeFrom(
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The noteReference. */ public java.lang.String getNoteReference() { java.lang.Object ref = noteReference_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; @@ -10147,8 +8153,6 @@ public java.lang.String getNoteReference() { } } /** - * - * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -10160,14 +8164,15 @@ public java.lang.String getNoteReference() {
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for noteReference. */ - public com.google.protobuf.ByteString getNoteReferenceBytes() { + public com.google.protobuf.ByteString + getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); noteReference_ = b; return b; } else { @@ -10175,8 +8180,6 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() { } } /** - * - * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -10188,22 +8191,18 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReference(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNoteReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } noteReference_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -10215,7 +8214,6 @@ public Builder setNoteReference(java.lang.String value) {
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNoteReference() { @@ -10225,8 +8223,6 @@ public Builder clearNoteReference() { return this; } /** - * - * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -10238,14 +8234,12 @@ public Builder clearNoteReference() {
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReferenceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNoteReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); noteReference_ = value; bitField0_ |= 0x00000001; @@ -10253,31 +8247,19 @@ public Builder setNoteReferenceBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> - publicKeys_ = java.util.Collections.emptyList(); - + private java.util.List publicKeys_ = + java.util.Collections.emptyList(); private void ensurePublicKeysIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - publicKeys_ = - new java.util.ArrayList< - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKey>(publicKeys_); + publicKeys_ = new java.util.ArrayList(publicKeys_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder> - publicKeysBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder> publicKeysBuilder_; /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10290,13 +8272,9 @@ private void ensurePublicKeysIsMutable() {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> - getPublicKeysList() { + public java.util.List getPublicKeysList() { if (publicKeysBuilder_ == null) { return java.util.Collections.unmodifiableList(publicKeys_); } else { @@ -10304,8 +8282,6 @@ private void ensurePublicKeysIsMutable() { } } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10318,9 +8294,7 @@ private void ensurePublicKeysIsMutable() {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public int getPublicKeysCount() { if (publicKeysBuilder_ == null) { @@ -10330,8 +8304,6 @@ public int getPublicKeysCount() { } } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10344,12 +8316,9 @@ public int getPublicKeysCount() {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - getPublicKeys(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys(int index) { if (publicKeysBuilder_ == null) { return publicKeys_.get(index); } else { @@ -10357,8 +8326,6 @@ public int getPublicKeysCount() { } } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10371,13 +8338,10 @@ public int getPublicKeysCount() {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPublicKeys( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10391,8 +8355,6 @@ public Builder setPublicKeys( return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10405,14 +8367,10 @@ public Builder setPublicKeys(
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPublicKeys( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder - builderForValue) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.set(index, builderForValue.build()); @@ -10423,8 +8381,6 @@ public Builder setPublicKeys( return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10437,12 +8393,9 @@ public Builder setPublicKeys(
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addPublicKeys( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { + public Builder addPublicKeys(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10456,8 +8409,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10470,13 +8421,10 @@ public Builder addPublicKeys(
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPublicKeys( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10490,8 +8438,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10504,13 +8450,10 @@ public Builder addPublicKeys(
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPublicKeys( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.add(builderForValue.build()); @@ -10521,8 +8464,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10535,14 +8476,10 @@ public Builder addPublicKeys(
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPublicKeys( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder - builderForValue) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.add(index, builderForValue.build()); @@ -10553,8 +8490,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10567,19 +8502,14 @@ public Builder addPublicKeys(
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllPublicKeys( - java.lang.Iterable< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKey> - values) { + java.lang.Iterable values) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, publicKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, publicKeys_); onChanged(); } else { publicKeysBuilder_.addAllMessages(values); @@ -10587,8 +8517,6 @@ public Builder addAllPublicKeys( return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10601,9 +8529,7 @@ public Builder addAllPublicKeys(
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPublicKeys() { if (publicKeysBuilder_ == null) { @@ -10616,8 +8542,6 @@ public Builder clearPublicKeys() { return this; } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10630,9 +8554,7 @@ public Builder clearPublicKeys() {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removePublicKeys(int index) { if (publicKeysBuilder_ == null) { @@ -10644,9 +8566,7 @@ public Builder removePublicKeys(int index) { } return this; } - /** - * - * + /** *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10659,18 +8579,13 @@ public Builder removePublicKeys(int index) {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .Builder - getPublicKeysBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder getPublicKeysBuilder( + int index) { return getPublicKeysFieldBuilder().getBuilder(index); } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10683,22 +8598,16 @@ public Builder removePublicKeys(int index) {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder - getPublicKeysOrBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( + int index) { if (publicKeysBuilder_ == null) { - return publicKeys_.get(index); - } else { + return publicKeys_.get(index); } else { return publicKeysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10711,15 +8620,10 @@ public Builder removePublicKeys(int index) {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder> - getPublicKeysOrBuilderList() { + public java.util.List + getPublicKeysOrBuilderList() { if (publicKeysBuilder_ != null) { return publicKeysBuilder_.getMessageOrBuilderList(); } else { @@ -10727,8 +8631,6 @@ public Builder removePublicKeys(int index) { } } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10741,21 +8643,13 @@ public Builder removePublicKeys(int index) {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .Builder - addPublicKeysBuilder() { - return getPublicKeysFieldBuilder() - .addBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder addPublicKeysBuilder() { + return getPublicKeysFieldBuilder().addBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance()); } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10768,22 +8662,14 @@ public Builder removePublicKeys(int index) {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .Builder - addPublicKeysBuilder(int index) { - return getPublicKeysFieldBuilder() - .addBuilder( - index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder addPublicKeysBuilder( + int index) { + return getPublicKeysFieldBuilder().addBuilder( + index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance()); } /** - * - * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -10796,33 +8682,22 @@ public Builder removePublicKeys(int index) {
        * valid attestations exist.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .Builder> - getPublicKeysBuilderList() { + public java.util.List + getPublicKeysBuilderList() { return getPublicKeysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder> getPublicKeysFieldBuilder() { if (publicKeysBuilder_ == null) { - publicKeysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey - .Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorPublicKeyOrBuilder>( - publicKeys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + publicKeysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder>( + publicKeys_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); publicKeys_ = null; } return publicKeysBuilder_; @@ -10830,8 +8705,6 @@ public Builder removePublicKeys(int index) { private java.lang.Object delegationServiceAccountEmail_ = ""; /** - * - * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -10844,16 +8717,14 @@ public Builder removePublicKeys(int index) {
        * future versions may use an email based on a different naming pattern.
        * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The delegationServiceAccountEmail. */ public java.lang.String getDelegationServiceAccountEmail() { java.lang.Object ref = delegationServiceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; @@ -10862,8 +8733,6 @@ public java.lang.String getDelegationServiceAccountEmail() { } } /** - * - * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -10876,17 +8745,16 @@ public java.lang.String getDelegationServiceAccountEmail() {
        * future versions may use an email based on a different naming pattern.
        * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for delegationServiceAccountEmail. */ - public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -10894,8 +8762,6 @@ public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { } } /** - * - * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -10908,25 +8774,19 @@ public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() {
        * future versions may use an email based on a different naming pattern.
        * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelegationServiceAccountEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -10939,10 +8799,7 @@ public Builder setDelegationServiceAccountEmail(java.lang.String value) {
        * future versions may use an email based on a different naming pattern.
        * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDelegationServiceAccountEmail() { @@ -10952,8 +8809,6 @@ public Builder clearDelegationServiceAccountEmail() { return this; } /** - * - * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -10966,24 +8821,19 @@ public Builder clearDelegationServiceAccountEmail() {
        * future versions may use an email based on a different naming pattern.
        * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelegationServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10996,48 +8846,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources - .UserOwnedGrafeasNote - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserOwnedGrafeasNote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserOwnedGrafeasNote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -11049,47 +8892,39 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PkixPublicKeyOrBuilder - extends + public interface PkixPublicKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.PkixPublicKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @return The publicKeyPem. */ java.lang.String getPublicKeyPem(); /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @return The bytes for publicKeyPem. */ - com.google.protobuf.ByteString getPublicKeyPemBytes(); + com.google.protobuf.ByteString + getPublicKeyPemBytes(); /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -11098,16 +8933,11 @@ public interface PkixPublicKeyOrBuilder
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The enum numeric value on the wire for signatureAlgorithm. */ int getSignatureAlgorithmValue(); /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -11116,18 +8946,12 @@ public interface PkixPublicKeyOrBuilder
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The signatureAlgorithm. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm - getSignatureAlgorithm(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm(); } /** - * - * *
    * A public key in the PkixPublicKey format (see
    * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -11137,16 +8961,15 @@ public interface PkixPublicKeyOrBuilder
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.PkixPublicKey}
    */
-  public static final class PkixPublicKey extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PkixPublicKey extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.PkixPublicKey)
       PkixPublicKeyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PkixPublicKey.newBuilder() to construct.
     private PkixPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PkixPublicKey() {
       publicKeyPem_ = "";
       signatureAlgorithm_ = 0;
@@ -11154,29 +8977,25 @@ private PkixPublicKey() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PkixPublicKey();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder
-                  .class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * Represents a signature algorithm and other information necessary to verify
      * signatures with a given public key.
@@ -11188,10 +9007,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      *
      * Protobuf enum {@code google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm}
      */
-    public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnum {
+    public enum SignatureAlgorithm
+        implements com.google.protobuf.ProtocolMessageEnum {
       /**
-       *
-       *
        * 
        * Not specified.
        * 
@@ -11200,8 +9018,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ SIGNATURE_ALGORITHM_UNSPECIFIED(0, 0), /** - * - * *
        * RSASSA-PSS 2048 bit key with a SHA256 digest.
        * 
@@ -11210,8 +9026,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_2048_SHA256(1, 1), /** - * - * *
        * RSASSA-PSS 3072 bit key with a SHA256 digest.
        * 
@@ -11220,8 +9034,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_3072_SHA256(2, 2), /** - * - * *
        * RSASSA-PSS 4096 bit key with a SHA256 digest.
        * 
@@ -11230,8 +9042,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_4096_SHA256(3, 3), /** - * - * *
        * RSASSA-PSS 4096 bit key with a SHA512 digest.
        * 
@@ -11240,8 +9050,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_4096_SHA512(4, 4), /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
        * 
@@ -11250,8 +9058,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_2048_SHA256(5, 5), /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
        * 
@@ -11260,8 +9066,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_3072_SHA256(6, 6), /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
        * 
@@ -11270,8 +9074,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_4096_SHA256(7, 7), /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
        * 
@@ -11280,8 +9082,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_4096_SHA512(8, 8), /** - * - * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -11290,8 +9090,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ ECDSA_P256_SHA256(9, 9), /** - * - * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -11300,8 +9098,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ ECDSA_P384_SHA384(11, 10), /** - * - * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -11313,8 +9109,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -11323,8 +9117,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final SignatureAlgorithm EC_SIGN_P256_SHA256 = ECDSA_P256_SHA256; /** - * - * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -11333,8 +9125,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final SignatureAlgorithm EC_SIGN_P384_SHA384 = ECDSA_P384_SHA384; /** - * - * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -11343,8 +9133,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final SignatureAlgorithm EC_SIGN_P521_SHA512 = ECDSA_P521_SHA512; /** - * - * *
        * Not specified.
        * 
@@ -11353,8 +9141,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int SIGNATURE_ALGORITHM_UNSPECIFIED_VALUE = 0; /** - * - * *
        * RSASSA-PSS 2048 bit key with a SHA256 digest.
        * 
@@ -11363,8 +9149,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_2048_SHA256_VALUE = 1; /** - * - * *
        * RSASSA-PSS 3072 bit key with a SHA256 digest.
        * 
@@ -11373,8 +9157,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_3072_SHA256_VALUE = 2; /** - * - * *
        * RSASSA-PSS 4096 bit key with a SHA256 digest.
        * 
@@ -11383,8 +9165,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_4096_SHA256_VALUE = 3; /** - * - * *
        * RSASSA-PSS 4096 bit key with a SHA512 digest.
        * 
@@ -11393,8 +9173,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_4096_SHA512_VALUE = 4; /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
        * 
@@ -11403,8 +9181,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_2048_SHA256_VALUE = 5; /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
        * 
@@ -11413,8 +9189,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_3072_SHA256_VALUE = 6; /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
        * 
@@ -11423,8 +9197,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_4096_SHA256_VALUE = 7; /** - * - * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
        * 
@@ -11433,8 +9205,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_4096_SHA512_VALUE = 8; /** - * - * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -11443,8 +9213,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int ECDSA_P256_SHA256_VALUE = 9; /** - * - * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -11453,8 +9221,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int EC_SIGN_P256_SHA256_VALUE = 9; /** - * - * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -11463,8 +9229,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int ECDSA_P384_SHA384_VALUE = 10; /** - * - * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -11473,8 +9237,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int EC_SIGN_P384_SHA384_VALUE = 10; /** - * - * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -11483,8 +9245,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int ECDSA_P521_SHA512_VALUE = 11; /** - * - * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -11493,6 +9253,7 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int EC_SIGN_P521_SHA512_VALUE = 11; + public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( @@ -11517,32 +9278,19 @@ public static SignatureAlgorithm valueOf(int value) { */ public static SignatureAlgorithm forNumber(int value) { switch (value) { - case 0: - return SIGNATURE_ALGORITHM_UNSPECIFIED; - case 1: - return RSA_PSS_2048_SHA256; - case 2: - return RSA_PSS_3072_SHA256; - case 3: - return RSA_PSS_4096_SHA256; - case 4: - return RSA_PSS_4096_SHA512; - case 5: - return RSA_SIGN_PKCS1_2048_SHA256; - case 6: - return RSA_SIGN_PKCS1_3072_SHA256; - case 7: - return RSA_SIGN_PKCS1_4096_SHA256; - case 8: - return RSA_SIGN_PKCS1_4096_SHA512; - case 9: - return ECDSA_P256_SHA256; - case 10: - return ECDSA_P384_SHA384; - case 11: - return ECDSA_P521_SHA512; - default: - return null; + case 0: return SIGNATURE_ALGORITHM_UNSPECIFIED; + case 1: return RSA_PSS_2048_SHA256; + case 2: return RSA_PSS_3072_SHA256; + case 3: return RSA_PSS_4096_SHA256; + case 4: return RSA_PSS_4096_SHA512; + case 5: return RSA_SIGN_PKCS1_2048_SHA256; + case 6: return RSA_SIGN_PKCS1_3072_SHA256; + case 7: return RSA_SIGN_PKCS1_4096_SHA256; + case 8: return RSA_SIGN_PKCS1_4096_SHA512; + case 9: return ECDSA_P256_SHA256; + case 10: return ECDSA_P384_SHA384; + case 11: return ECDSA_P521_SHA512; + default: return null; } } @@ -11550,60 +9298,42 @@ public static SignatureAlgorithm forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + SignatureAlgorithm> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SignatureAlgorithm findValueByNumber(int number) { + return SignatureAlgorithm.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SignatureAlgorithm findValueByNumber(int number) { - return SignatureAlgorithm.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (index == -1) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(index); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDescriptor().getEnumTypes().get(0); } private static final SignatureAlgorithm[] VALUES = getStaticValuesArray(); - private static SignatureAlgorithm[] getStaticValuesArray() { return new SignatureAlgorithm[] { - SIGNATURE_ALGORITHM_UNSPECIFIED, - RSA_PSS_2048_SHA256, - RSA_PSS_3072_SHA256, - RSA_PSS_4096_SHA256, - RSA_PSS_4096_SHA512, - RSA_SIGN_PKCS1_2048_SHA256, - RSA_SIGN_PKCS1_3072_SHA256, - RSA_SIGN_PKCS1_4096_SHA256, - RSA_SIGN_PKCS1_4096_SHA512, - ECDSA_P256_SHA256, - EC_SIGN_P256_SHA256, - ECDSA_P384_SHA384, - EC_SIGN_P384_SHA384, - ECDSA_P521_SHA512, - EC_SIGN_P521_SHA512, + SIGNATURE_ALGORITHM_UNSPECIFIED, RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512, ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384, EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512, }; } - public static SignatureAlgorithm 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; @@ -11623,19 +9353,15 @@ private SignatureAlgorithm(int index, int value) { } public static final int PUBLIC_KEY_PEM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object publicKeyPem_ = ""; /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @return The publicKeyPem. */ @java.lang.Override @@ -11644,30 +9370,30 @@ public java.lang.String getPublicKeyPem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; } } /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @return The bytes for publicKeyPem. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicKeyPemBytes() { + public com.google.protobuf.ByteString + getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -11678,8 +9404,6 @@ public com.google.protobuf.ByteString getPublicKeyPemBytes() { public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER = 2; private int signatureAlgorithm_ = 0; /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -11688,19 +9412,13 @@ public com.google.protobuf.ByteString getPublicKeyPemBytes() {
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override - public int getSignatureAlgorithmValue() { + @java.lang.Override public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -11709,29 +9427,15 @@ public int getSignatureAlgorithmValue() {
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The signatureAlgorithm. */ - @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm - getSignatureAlgorithm() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm.forNumber(signatureAlgorithm_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm.UNRECOGNIZED - : result; + @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11743,14 +9447,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKeyPem_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, publicKeyPem_); } - if (signatureAlgorithm_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED - .getNumber()) { + if (signatureAlgorithm_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { output.writeEnum(2, signatureAlgorithm_); } getUnknownFields().writeTo(output); @@ -11765,11 +9467,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKeyPem_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, publicKeyPem_); } - if (signatureAlgorithm_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, signatureAlgorithm_); + if (signatureAlgorithm_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, signatureAlgorithm_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -11779,17 +9479,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.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other = - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) obj; - if (!getPublicKeyPem().equals(other.getPublicKeyPem())) return false; + if (!getPublicKeyPem() + .equals(other.getPublicKeyPem())) return false; if (signatureAlgorithm_ != other.signatureAlgorithm_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -11811,101 +9509,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -11915,8 +9602,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A public key in the PkixPublicKey format (see
      * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -11926,35 +9611,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.PkixPublicKey}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.PkixPublicKey)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class,
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-                    .Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder.class);
       }
 
-      // Construct using
-      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.newBuilder()
-      private Builder() {}
+      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -11965,22 +9648,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-          getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-            .getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result =
-            buildPartial();
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -11988,19 +9668,14 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-          buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result =
-            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result) {
+      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.publicKeyPem_ = publicKeyPem_;
@@ -12014,56 +9689,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) {
-          return mergeFrom(
-              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
-                  other);
+        if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) {
+          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other) {
-        if (other
-            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other) {
+        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance()) return this;
         if (!other.getPublicKeyPem().isEmpty()) {
           publicKeyPem_ = other.publicKeyPem_;
           bitField0_ |= 0x00000001;
@@ -12098,25 +9763,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  publicKeyPem_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  signatureAlgorithm_ = input.readEnum();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                publicKeyPem_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                signatureAlgorithm_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -12126,26 +9788,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object publicKeyPem_ = "";
       /**
-       *
-       *
        * 
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; - * * @return The publicKeyPem. */ public java.lang.String getPublicKeyPem() { java.lang.Object ref = publicKeyPem_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; @@ -12154,22 +9813,21 @@ public java.lang.String getPublicKeyPem() { } } /** - * - * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; - * * @return The bytes for publicKeyPem. */ - public com.google.protobuf.ByteString getPublicKeyPemBytes() { + public com.google.protobuf.ByteString + getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -12177,37 +9835,30 @@ public com.google.protobuf.ByteString getPublicKeyPemBytes() { } } /** - * - * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; - * * @param value The publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPem(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyPem( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKeyPem_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; - * * @return This builder for chaining. */ public Builder clearPublicKeyPem() { @@ -12217,22 +9868,18 @@ public Builder clearPublicKeyPem() { return this; } /** - * - * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; - * * @param value The bytes for publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyPemBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKeyPem_ = value; bitField0_ |= 0x00000001; @@ -12242,8 +9889,6 @@ public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) { private int signatureAlgorithm_ = 0; /** - * - * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -12252,19 +9897,13 @@ public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) {
        * that of the public key).
        * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override - public int getSignatureAlgorithmValue() { + @java.lang.Override public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** - * - * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -12273,10 +9912,7 @@ public int getSignatureAlgorithmValue() {
        * that of the public key).
        * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @param value The enum numeric value on the wire for signatureAlgorithm to set. * @return This builder for chaining. */ @@ -12287,8 +9923,6 @@ public Builder setSignatureAlgorithmValue(int value) { return this; } /** - * - * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -12297,29 +9931,15 @@ public Builder setSignatureAlgorithmValue(int value) {
        * that of the public key).
        * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The signatureAlgorithm. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm - getSignatureAlgorithm() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm - result = - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm.forNumber(signatureAlgorithm_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm.UNRECOGNIZED - : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; } /** - * - * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -12328,17 +9948,11 @@ public Builder setSignatureAlgorithmValue(int value) {
        * that of the public key).
        * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @param value The signatureAlgorithm to set. * @return This builder for chaining. */ - public Builder setSignatureAlgorithm( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .SignatureAlgorithm - value) { + public Builder setSignatureAlgorithm(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm value) { if (value == null) { throw new NullPointerException(); } @@ -12348,8 +9962,6 @@ public Builder setSignatureAlgorithm( return this; } /** - * - * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -12358,10 +9970,7 @@ public Builder setSignatureAlgorithm(
        * that of the public key).
        * 
* - * - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return This builder for chaining. */ public Builder clearSignatureAlgorithm() { @@ -12370,7 +9979,6 @@ public Builder clearSignatureAlgorithm() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -12383,46 +9991,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.PkixPublicKey) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.PkixPublicKey) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources - .PkixPublicKey - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PkixPublicKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PkixPublicKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12434,45 +10037,37 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AttestorPublicKeyOrBuilder - extends + public interface AttestorPublicKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.AttestorPublicKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The comment. */ java.lang.String getComment(); /** - * - * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for comment. */ - com.google.protobuf.ByteString getCommentBytes(); + com.google.protobuf.ByteString + getCommentBytes(); /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -12484,13 +10079,10 @@ public interface AttestorPublicKeyOrBuilder
      * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -12502,14 +10094,12 @@ public interface AttestorPublicKeyOrBuilder
      * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -12522,13 +10112,10 @@ public interface AttestorPublicKeyOrBuilder
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return Whether the asciiArmoredPgpPublicKey field is set. */ boolean hasAsciiArmoredPgpPublicKey(); /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -12541,13 +10128,10 @@ public interface AttestorPublicKeyOrBuilder
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The asciiArmoredPgpPublicKey. */ java.lang.String getAsciiArmoredPgpPublicKey(); /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -12560,14 +10144,12 @@ public interface AttestorPublicKeyOrBuilder
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The bytes for asciiArmoredPgpPublicKey. */ - com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes(); + com.google.protobuf.ByteString + getAsciiArmoredPgpPublicKeyBytes(); /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -12578,13 +10160,10 @@ public interface AttestorPublicKeyOrBuilder
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; - * * @return Whether the pkixPublicKey field is set. */ boolean hasPkixPublicKey(); /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -12595,14 +10174,10 @@ public interface AttestorPublicKeyOrBuilder
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; - * * @return The pkixPublicKey. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - getPkixPublicKey(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getPkixPublicKey(); /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -12614,15 +10189,11 @@ public interface AttestorPublicKeyOrBuilder
      *
      * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
      */
-    com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder
-        getPkixPublicKeyOrBuilder();
+    com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder();
 
-    com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.PublicKeyCase
-        getPublicKeyCase();
+    com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.PublicKeyCase getPublicKeyCase();
   }
   /**
-   *
-   *
    * 
    * An [attestor public key][google.cloud.binaryauthorization.v1.AttestorPublicKey] that will be used to verify
    * attestations signed by this attestor.
@@ -12630,16 +10201,15 @@ public interface AttestorPublicKeyOrBuilder
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.AttestorPublicKey}
    */
-  public static final class AttestorPublicKey extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class AttestorPublicKey extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.AttestorPublicKey)
       AttestorPublicKeyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use AttestorPublicKey.newBuilder() to construct.
     private AttestorPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private AttestorPublicKey() {
       comment_ = "";
       id_ = "";
@@ -12647,41 +10217,34 @@ private AttestorPublicKey() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new AttestorPublicKey();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-          .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-                  .class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-                  .Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder.class);
     }
 
     private int publicKeyCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object publicKey_;
-
     public enum PublicKeyCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ASCII_ARMORED_PGP_PUBLIC_KEY(3),
       PKIX_PUBLIC_KEY(5),
       PUBLICKEY_NOT_SET(0);
       private final int value;
-
       private PublicKeyCase(int value) {
         this.value = value;
       }
@@ -12697,39 +10260,32 @@ public static PublicKeyCase valueOf(int value) {
 
       public static PublicKeyCase forNumber(int value) {
         switch (value) {
-          case 3:
-            return ASCII_ARMORED_PGP_PUBLIC_KEY;
-          case 5:
-            return PKIX_PUBLIC_KEY;
-          case 0:
-            return PUBLICKEY_NOT_SET;
-          default:
-            return null;
+          case 3: return ASCII_ARMORED_PGP_PUBLIC_KEY;
+          case 5: return PKIX_PUBLIC_KEY;
+          case 0: return PUBLICKEY_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public PublicKeyCase getPublicKeyCase() {
-      return PublicKeyCase.forNumber(publicKeyCase_);
+    public PublicKeyCase
+    getPublicKeyCase() {
+      return PublicKeyCase.forNumber(
+          publicKeyCase_);
     }
 
     public static final int COMMENT_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object comment_ = "";
     /**
-     *
-     *
      * 
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The comment. */ @java.lang.Override @@ -12738,29 +10294,29 @@ public java.lang.String getComment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; } } /** - * - * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for comment. */ @java.lang.Override - public com.google.protobuf.ByteString getCommentBytes() { + public com.google.protobuf.ByteString + getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); comment_ = b; return b; } else { @@ -12769,12 +10325,9 @@ public com.google.protobuf.ByteString getCommentBytes() { } public static final int ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -12786,7 +10339,6 @@ public com.google.protobuf.ByteString getCommentBytes() {
      * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -12795,15 +10347,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -12815,15 +10366,16 @@ public java.lang.String getId() {
      * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -12833,8 +10385,6 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int ASCII_ARMORED_PGP_PUBLIC_KEY_FIELD_NUMBER = 3; /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -12847,15 +10397,12 @@ public com.google.protobuf.ByteString getIdBytes() {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return Whether the asciiArmoredPgpPublicKey field is set. */ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -12868,7 +10415,6 @@ public boolean hasAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The asciiArmoredPgpPublicKey. */ public java.lang.String getAsciiArmoredPgpPublicKey() { @@ -12879,7 +10425,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -12888,8 +10435,6 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -12902,17 +10447,18 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The bytes for asciiArmoredPgpPublicKey. */ - public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString + getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -12924,8 +10470,6 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { public static final int PKIX_PUBLIC_KEY_FIELD_NUMBER = 5; /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -12936,7 +10480,6 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() {
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; - * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -12944,8 +10487,6 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -12956,22 +10497,16 @@ public boolean hasPkixPublicKey() {
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; - * * @return The pkixPublicKey. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - getPkixPublicKey() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getPkixPublicKey() { if (publicKeyCase_ == 5) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) - publicKey_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance(); } /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -12984,18 +10519,14 @@ public boolean hasPkixPublicKey() {
      * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
      */
     @java.lang.Override
-    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder
-        getPkixPublicKeyOrBuilder() {
+    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
       if (publicKeyCase_ == 5) {
-        return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
-            publicKey_;
+         return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_;
       }
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-          .getDefaultInstance();
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -13007,7 +10538,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, comment_);
       }
@@ -13018,10 +10550,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         com.google.protobuf.GeneratedMessageV3.writeString(output, 3, publicKey_);
       }
       if (publicKeyCase_ == 5) {
-        output.writeMessage(
-            5,
-            (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
-                publicKey_);
+        output.writeMessage(5, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_);
       }
       getUnknownFields().writeTo(output);
     }
@@ -13042,11 +10571,8 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publicKey_);
       }
       if (publicKeyCase_ == 5) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                5,
-                (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
-                    publicKey_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -13056,26 +10582,26 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)) {
+      if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)) {
         return super.equals(obj);
       }
-      com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other =
-          (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) obj;
+      com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) obj;
 
-      if (!getComment().equals(other.getComment())) return false;
-      if (!getId().equals(other.getId())) return false;
+      if (!getComment()
+          .equals(other.getComment())) return false;
+      if (!getId()
+          .equals(other.getId())) return false;
       if (!getPublicKeyCase().equals(other.getPublicKeyCase())) return false;
       switch (publicKeyCase_) {
         case 3:
-          if (!getAsciiArmoredPgpPublicKey().equals(other.getAsciiArmoredPgpPublicKey()))
-            return false;
+          if (!getAsciiArmoredPgpPublicKey()
+              .equals(other.getAsciiArmoredPgpPublicKey())) return false;
           break;
         case 5:
-          if (!getPkixPublicKey().equals(other.getPkixPublicKey())) return false;
+          if (!getPkixPublicKey()
+              .equals(other.getPkixPublicKey())) return false;
           break;
         case 0:
         default:
@@ -13112,102 +10638,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(java.nio.ByteBuffer data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(
-            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(com.google.protobuf.ByteString data)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        com.google.protobuf.ByteString data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(
-            com.google.protobuf.ByteString data,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        com.google.protobuf.ByteString data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        parseFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-            prototype) {
+    public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -13217,8 +10731,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * An [attestor public key][google.cloud.binaryauthorization.v1.AttestorPublicKey] that will be used to verify
      * attestations signed by this attestor.
@@ -13226,36 +10738,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.AttestorPublicKey}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.AttestorPublicKey)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-                    .class,
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-                    .Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder.class);
       }
 
-      // Construct using
-      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.newBuilder()
-      private Builder() {}
+      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -13271,23 +10780,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-          getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-            .getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-          build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result =
-            buildPartial();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey build() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -13295,22 +10800,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-          buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result =
-            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey(
-                this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-              result) {
+      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.comment_ = comment_;
@@ -13320,12 +10818,11 @@ private void buildPartial0(
         }
       }
 
-      private void buildPartialOneofs(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-              result) {
+      private void buildPartialOneofs(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result) {
         result.publicKeyCase_ = publicKeyCase_;
         result.publicKey_ = this.publicKey_;
-        if (publicKeyCase_ == 5 && pkixPublicKeyBuilder_ != null) {
+        if (publicKeyCase_ == 5 &&
+            pkixPublicKeyBuilder_ != null) {
           result.publicKey_ = pkixPublicKeyBuilder_.build();
         }
       }
@@ -13334,56 +10831,46 @@ private void buildPartialOneofs(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) {
-          return mergeFrom(
-              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)
-                  other);
+        if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) {
+          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other) {
-        if (other
-            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other) {
+        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance()) return this;
         if (!other.getComment().isEmpty()) {
           comment_ = other.comment_;
           bitField0_ |= 0x00000001;
@@ -13395,22 +10882,19 @@ public Builder mergeFrom(
           onChanged();
         }
         switch (other.getPublicKeyCase()) {
-          case ASCII_ARMORED_PGP_PUBLIC_KEY:
-            {
-              publicKeyCase_ = 3;
-              publicKey_ = other.publicKey_;
-              onChanged();
-              break;
-            }
-          case PKIX_PUBLIC_KEY:
-            {
-              mergePkixPublicKey(other.getPkixPublicKey());
-              break;
-            }
-          case PUBLICKEY_NOT_SET:
-            {
-              break;
-            }
+          case ASCII_ARMORED_PGP_PUBLIC_KEY: {
+            publicKeyCase_ = 3;
+            publicKey_ = other.publicKey_;
+            onChanged();
+            break;
+          }
+          case PKIX_PUBLIC_KEY: {
+            mergePkixPublicKey(other.getPkixPublicKey());
+            break;
+          }
+          case PUBLICKEY_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -13438,38 +10922,35 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  comment_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  id_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  publicKeyCase_ = 3;
-                  publicKey_ = s;
-                  break;
-                } // case 26
-              case 42:
-                {
-                  input.readMessage(getPkixPublicKeyFieldBuilder().getBuilder(), extensionRegistry);
-                  publicKeyCase_ = 5;
-                  break;
-                } // case 42
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                comment_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                java.lang.String s = input.readStringRequireUtf8();
+                publicKeyCase_ = 3;
+                publicKey_ = s;
+                break;
+              } // case 26
+              case 42: {
+                input.readMessage(
+                    getPkixPublicKeyFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                publicKeyCase_ = 5;
+                break;
+              } // case 42
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13479,12 +10960,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int publicKeyCase_ = 0;
       private java.lang.Object publicKey_;
-
-      public PublicKeyCase getPublicKeyCase() {
-        return PublicKeyCase.forNumber(publicKeyCase_);
+      public PublicKeyCase
+          getPublicKeyCase() {
+        return PublicKeyCase.forNumber(
+            publicKeyCase_);
       }
 
       public Builder clearPublicKey() {
@@ -13498,20 +10979,18 @@ public Builder clearPublicKey() {
 
       private java.lang.Object comment_ = "";
       /**
-       *
-       *
        * 
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; @@ -13520,21 +10999,20 @@ public java.lang.String getComment() { } } /** - * - * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for comment. */ - public com.google.protobuf.ByteString getCommentBytes() { + public com.google.protobuf.ByteString + getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); comment_ = b; return b; } else { @@ -13542,35 +11020,28 @@ public com.google.protobuf.ByteString getCommentBytes() { } } /** - * - * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The comment to set. * @return This builder for chaining. */ - public Builder setComment(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setComment( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } comment_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearComment() { @@ -13580,21 +11051,17 @@ public Builder clearComment() { return this; } /** - * - * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for comment to set. * @return This builder for chaining. */ - public Builder setCommentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); comment_ = value; bitField0_ |= 0x00000001; @@ -13604,8 +11071,6 @@ public Builder setCommentBytes(com.google.protobuf.ByteString value) { private java.lang.Object id_ = ""; /** - * - * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -13617,13 +11082,13 @@ public Builder setCommentBytes(com.google.protobuf.ByteString value) {
        * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -13632,8 +11097,6 @@ public java.lang.String getId() { } } /** - * - * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -13645,14 +11108,15 @@ public java.lang.String getId() {
        * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -13660,8 +11124,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -13673,22 +11135,18 @@ public com.google.protobuf.ByteString getIdBytes() {
        * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -13700,7 +11158,6 @@ public Builder setId(java.lang.String value) {
        * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -13710,8 +11167,6 @@ public Builder clearId() { return this; } /** - * - * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -13723,14 +11178,12 @@ public Builder clearId() {
        * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -13739,8 +11192,6 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -13753,7 +11204,6 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
        * 
* * string ascii_armored_pgp_public_key = 3; - * * @return Whether the asciiArmoredPgpPublicKey field is set. */ @java.lang.Override @@ -13761,8 +11211,6 @@ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** - * - * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -13775,7 +11223,6 @@ public boolean hasAsciiArmoredPgpPublicKey() {
        * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The asciiArmoredPgpPublicKey. */ @java.lang.Override @@ -13785,7 +11232,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { ref = publicKey_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -13796,8 +11244,6 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** - * - * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -13810,18 +11256,19 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
        * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The bytes for asciiArmoredPgpPublicKey. */ @java.lang.Override - public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString + getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -13831,8 +11278,6 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { } } /** - * - * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -13845,22 +11290,18 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() {
        * 
* * string ascii_armored_pgp_public_key = 3; - * * @param value The asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsciiArmoredPgpPublicKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKeyCase_ = 3; publicKey_ = value; onChanged(); return this; } /** - * - * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -13873,7 +11314,6 @@ public Builder setAsciiArmoredPgpPublicKey(java.lang.String value) {
        * 
* * string ascii_armored_pgp_public_key = 3; - * * @return This builder for chaining. */ public Builder clearAsciiArmoredPgpPublicKey() { @@ -13885,8 +11325,6 @@ public Builder clearAsciiArmoredPgpPublicKey() { return this; } /** - * - * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -13899,14 +11337,12 @@ public Builder clearAsciiArmoredPgpPublicKey() {
        * 
* * string ascii_armored_pgp_public_key = 3; - * * @param value The bytes for asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsciiArmoredPgpPublicKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKeyCase_ = 3; publicKey_ = value; @@ -13915,14 +11351,8 @@ public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString v } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .PkixPublicKeyOrBuilder> - pkixPublicKeyBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder> pkixPublicKeyBuilder_; /** - * - * *
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -13933,7 +11363,6 @@ public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString v
        * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; - * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -13941,8 +11370,6 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** - * - * *
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -13953,30 +11380,23 @@ public boolean hasPkixPublicKey() {
        * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; - * * @return The pkixPublicKey. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - getPkixPublicKey() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getPkixPublicKey() { if (pkixPublicKeyBuilder_ == null) { if (publicKeyCase_ == 5) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) - publicKey_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance(); } else { if (publicKeyCase_ == 5) { return pkixPublicKeyBuilder_.getMessage(); } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey - .getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance(); } } /** - * - * *
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -13988,8 +11408,7 @@ public boolean hasPkixPublicKey() {
        *
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
-      public Builder setPkixPublicKey(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
+      public Builder setPkixPublicKey(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
         if (pkixPublicKeyBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -14003,8 +11422,6 @@ public Builder setPkixPublicKey(
         return this;
       }
       /**
-       *
-       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -14017,8 +11434,7 @@ public Builder setPkixPublicKey(
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
       public Builder setPkixPublicKey(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder
-              builderForValue) {
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder builderForValue) {
         if (pkixPublicKeyBuilder_ == null) {
           publicKey_ = builderForValue.build();
           onChanged();
@@ -14029,8 +11445,6 @@ public Builder setPkixPublicKey(
         return this;
       }
       /**
-       *
-       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -14042,21 +11456,12 @@ public Builder setPkixPublicKey(
        *
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
-      public Builder mergePkixPublicKey(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
+      public Builder mergePkixPublicKey(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
         if (pkixPublicKeyBuilder_ == null) {
-          if (publicKeyCase_ == 5
-              && publicKey_
-                  != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-                      .getDefaultInstance()) {
-            publicKey_ =
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-                    .newBuilder(
-                        (com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                                .PkixPublicKey)
-                            publicKey_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (publicKeyCase_ == 5 &&
+              publicKey_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance()) {
+            publicKey_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.newBuilder((com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_)
+                .mergeFrom(value).buildPartial();
           } else {
             publicKey_ = value;
           }
@@ -14072,8 +11477,6 @@ public Builder mergePkixPublicKey(
         return this;
       }
       /**
-       *
-       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -14102,8 +11505,6 @@ public Builder clearPkixPublicKey() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -14115,13 +11516,10 @@ public Builder clearPkixPublicKey() {
        *
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder
-          getPkixPublicKeyBuilder() {
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder getPkixPublicKeyBuilder() {
         return getPkixPublicKeyFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -14134,22 +11532,17 @@ public Builder clearPkixPublicKey() {
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder
-          getPkixPublicKeyOrBuilder() {
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
         if ((publicKeyCase_ == 5) && (pkixPublicKeyBuilder_ != null)) {
           return pkixPublicKeyBuilder_.getMessageOrBuilder();
         } else {
           if (publicKeyCase_ == 5) {
-            return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
-                publicKey_;
+            return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_;
           }
-          return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-              .getDefaultInstance();
+          return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
         }
       }
       /**
-       *
-       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -14162,26 +11555,15 @@ public Builder clearPkixPublicKey() {
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder,
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                  .PkixPublicKeyOrBuilder>
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder> 
           getPkixPublicKeyFieldBuilder() {
         if (pkixPublicKeyBuilder_ == null) {
           if (!(publicKeyCase_ == 5)) {
-            publicKey_ =
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-                    .getDefaultInstance();
+            publicKey_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
           }
-          pkixPublicKeyBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey,
-                  com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
-                      .Builder,
-                  com.google.protos.google.cloud.binaryauthorization.v1.Resources
-                      .PkixPublicKeyOrBuilder>(
-                  (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
-                      publicKey_,
+          pkixPublicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder>(
+                  (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_,
                   getParentForChildren(),
                   isClean());
           publicKey_ = null;
@@ -14190,7 +11572,6 @@ public Builder clearPkixPublicKey() {
         onChanged();
         return pkixPublicKeyBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -14203,46 +11584,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.AttestorPublicKey)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.AttestorPublicKey)
-    private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources
-            .AttestorPublicKey
-        DEFAULT_INSTANCE;
-
+    private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey();
+      DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey();
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        getDefaultInstance() {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public AttestorPublicKey parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public AttestorPublicKey parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -14254,284 +11630,255 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
-        getDefaultInstanceForType() {
+    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-      internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
-  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+  private static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable;
 
-  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
     return descriptor;
   }
-
-  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
-
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
   static {
     java.lang.String[] descriptorData = {
-      "\n3google/cloud/binaryauthorization/v1/re"
-          + "sources.proto\022#google.cloud.binaryauthor"
-          + "ization.v1\032\037google/api/field_behavior.pr"
-          + "oto\032\031google/api/resource.proto\032\037google/p"
-          + "rotobuf/timestamp.proto\"\202\r\n\006Policy\022\022\n\004na"
-          + "me\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030\006 \001(\tB\004\342A\001"
-          + "\001\022s\n\035global_policy_evaluation_mode\030\007 \001(\016"
-          + "2F.google.cloud.binaryauthorization.v1.P"
-          + "olicy.GlobalPolicyEvaluationModeB\004\342A\001\001\022j"
-          + "\n\034admission_whitelist_patterns\030\002 \003(\0132>.g"
-          + "oogle.cloud.binaryauthorization.v1.Admis"
-          + "sionWhitelistPatternB\004\342A\001\001\022m\n\027cluster_ad"
-          + "mission_rules\030\003 \003(\0132F.google.cloud.binar"
-          + "yauthorization.v1.Policy.ClusterAdmissio"
-          + "nRulesEntryB\004\342A\001\001\022\206\001\n$kubernetes_namespa"
-          + "ce_admission_rules\030\n \003(\0132R.google.cloud."
-          + "binaryauthorization.v1.Policy.Kubernetes"
-          + "NamespaceAdmissionRulesEntryB\004\342A\001\001\022\221\001\n*k"
-          + "ubernetes_service_account_admission_rule"
-          + "s\030\010 \003(\0132W.google.cloud.binaryauthorizati"
-          + "on.v1.Policy.KubernetesServiceAccountAdm"
-          + "issionRulesEntryB\004\342A\001\001\022\211\001\n&istio_service"
-          + "_identity_admission_rules\030\t \003(\0132S.google"
-          + ".cloud.binaryauthorization.v1.Policy.Ist"
-          + "ioServiceIdentityAdmissionRulesEntryB\004\342A"
-          + "\001\001\022X\n\026default_admission_rule\030\004 \001(\01322.goo"
-          + "gle.cloud.binaryauthorization.v1.Admissi"
-          + "onRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032.goog"
-          + "le.protobuf.TimestampB\004\342A\001\003\032p\n\032ClusterAd"
-          + "missionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030"
-          + "\002 \001(\01322.google.cloud.binaryauthorization"
-          + ".v1.AdmissionRule:\0028\001\032|\n&KubernetesNames"
-          + "paceAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005"
-          + "value\030\002 \001(\01322.google.cloud.binaryauthori"
-          + "zation.v1.AdmissionRule:\0028\001\032\201\001\n+Kubernet"
-          + "esServiceAccountAdmissionRulesEntry\022\013\n\003k"
-          + "ey\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.b"
-          + "inaryauthorization.v1.AdmissionRule:\0028\001\032"
-          + "}\n\'IstioServiceIdentityAdmissionRulesEnt"
-          + "ry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google."
-          + "cloud.binaryauthorization.v1.AdmissionRu"
-          + "le:\0028\001\"d\n\032GlobalPolicyEvaluationMode\022-\n)"
-          + "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIE"
-          + "D\020\000\022\n\n\006ENABLE\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binar"
-          + "yauthorization.googleapis.com/Policy\022\031pr"
-          + "ojects/{project}/policy\022\033locations/{loca"
-          + "tion}/policy\"1\n\031AdmissionWhitelistPatter"
-          + "n\022\024\n\014name_pattern\030\001 \001(\t\"\335\003\n\rAdmissionRul"
-          + "e\022`\n\017evaluation_mode\030\001 \001(\0162A.google.clou"
-          + "d.binaryauthorization.v1.AdmissionRule.E"
-          + "valuationModeB\004\342A\001\002\022%\n\027require_attestati"
-          + "ons_by\030\002 \003(\tB\004\342A\001\001\022b\n\020enforcement_mode\030\003"
-          + " \001(\0162B.google.cloud.binaryauthorization."
-          + "v1.AdmissionRule.EnforcementModeB\004\342A\001\002\"m"
-          + "\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_UNSP"
-          + "ECIFIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_A"
-          + "TTESTATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforce"
-          + "mentMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED"
-          + "\020\000\022 \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025"
-          + "DRYRUN_AUDIT_LOG_ONLY\020\002\"\272\002\n\010Attestor\022\022\n\004"
-          + "name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342"
-          + "A\001\001\022\\\n\027user_owned_grafeas_note\030\003 \001(\01329.g"
-          + "oogle.cloud.binaryauthorization.v1.UserO"
-          + "wnedGrafeasNoteH\000\0225\n\013update_time\030\004 \001(\0132\032"
-          + ".google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n+b"
-          + "inaryauthorization.googleapis.com/Attest"
-          + "or\022\'projects/{project}/attestors/{attest"
-          + "or}B\017\n\rattestor_type\"\267\001\n\024UserOwnedGrafea"
-          + "sNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022Q\n\013p"
-          + "ublic_keys\030\002 \003(\01326.google.cloud.binaryau"
-          + "thorization.v1.AttestorPublicKeyB\004\342A\001\001\022."
-          + "\n delegation_service_account_email\030\003 \001(\t"
-          + "B\004\342A\001\003\"\277\004\n\rPkixPublicKey\022\026\n\016public_key_p"
-          + "em\030\001 \001(\t\022b\n\023signature_algorithm\030\002 \001(\0162E."
-          + "google.cloud.binaryauthorization.v1.Pkix"
-          + "PublicKey.SignatureAlgorithm\"\261\003\n\022Signatu"
-          + "reAlgorithm\022#\n\037SIGNATURE_ALGORITHM_UNSPE"
-          + "CIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA256\020\001\022\027\n\023RSA"
-          + "_PSS_3072_SHA256\020\002\022\027\n\023RSA_PSS_4096_SHA25"
-          + "6\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004\022\036\n\032RSA_SIGN"
-          + "_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3"
-          + "072_SHA256\020\006\022\036\n\032RSA_SIGN_PKCS1_4096_SHA2"
-          + "56\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_SHA512\020\010\022\025\n\021"
-          + "ECDSA_P256_SHA256\020\t\022\027\n\023EC_SIGN_P256_SHA2"
-          + "56\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022\027\n\023EC_SIGN_P"
-          + "384_SHA384\020\n\022\025\n\021ECDSA_P521_SHA512\020\013\022\027\n\023E"
-          + "C_SIGN_P521_SHA512\020\013\032\002\020\001\"\273\001\n\021AttestorPub"
-          + "licKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001\001\022\n\n\002id\030\002 \001("
-          + "\t\022&\n\034ascii_armored_pgp_public_key\030\003 \001(\tH"
-          + "\000\022M\n\017pkix_public_key\030\005 \001(\01322.google.clou"
-          + "d.binaryauthorization.v1.PkixPublicKeyH\000"
-          + "B\014\n\npublic_keyB\214\002\n5com.google.protos.goo"
-          + "gle.cloud.binaryauthorization.v1P\000ZYclou"
-          + "d.google.com/go/binaryauthorization/apiv"
-          + "1/binaryauthorizationpb;binaryauthorizat"
-          + "ionpb\370\001\001\252\002#Google.Cloud.BinaryAuthorizat"
-          + "ion.V1\312\002#Google\\Cloud\\BinaryAuthorizatio"
-          + "n\\V1\352\002&Google::Cloud::BinaryAuthorizatio"
-          + "n::V1b\006proto3"
+      "\n3google/cloud/binaryauthorization/v1/re" +
+      "sources.proto\022#google.cloud.binaryauthor" +
+      "ization.v1\032\037google/api/field_behavior.pr" +
+      "oto\032\031google/api/resource.proto\032\037google/p" +
+      "rotobuf/timestamp.proto\"\202\r\n\006Policy\022\022\n\004na" +
+      "me\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030\006 \001(\tB\004\342A\001" +
+      "\001\022s\n\035global_policy_evaluation_mode\030\007 \001(\016" +
+      "2F.google.cloud.binaryauthorization.v1.P" +
+      "olicy.GlobalPolicyEvaluationModeB\004\342A\001\001\022j" +
+      "\n\034admission_whitelist_patterns\030\002 \003(\0132>.g" +
+      "oogle.cloud.binaryauthorization.v1.Admis" +
+      "sionWhitelistPatternB\004\342A\001\001\022m\n\027cluster_ad" +
+      "mission_rules\030\003 \003(\0132F.google.cloud.binar" +
+      "yauthorization.v1.Policy.ClusterAdmissio" +
+      "nRulesEntryB\004\342A\001\001\022\206\001\n$kubernetes_namespa" +
+      "ce_admission_rules\030\n \003(\0132R.google.cloud." +
+      "binaryauthorization.v1.Policy.Kubernetes" +
+      "NamespaceAdmissionRulesEntryB\004\342A\001\001\022\221\001\n*k" +
+      "ubernetes_service_account_admission_rule" +
+      "s\030\010 \003(\0132W.google.cloud.binaryauthorizati" +
+      "on.v1.Policy.KubernetesServiceAccountAdm" +
+      "issionRulesEntryB\004\342A\001\001\022\211\001\n&istio_service" +
+      "_identity_admission_rules\030\t \003(\0132S.google" +
+      ".cloud.binaryauthorization.v1.Policy.Ist" +
+      "ioServiceIdentityAdmissionRulesEntryB\004\342A" +
+      "\001\001\022X\n\026default_admission_rule\030\004 \001(\01322.goo" +
+      "gle.cloud.binaryauthorization.v1.Admissi" +
+      "onRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032.goog" +
+      "le.protobuf.TimestampB\004\342A\001\003\032p\n\032ClusterAd" +
+      "missionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030" +
+      "\002 \001(\01322.google.cloud.binaryauthorization" +
+      ".v1.AdmissionRule:\0028\001\032|\n&KubernetesNames" +
+      "paceAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005" +
+      "value\030\002 \001(\01322.google.cloud.binaryauthori" +
+      "zation.v1.AdmissionRule:\0028\001\032\201\001\n+Kubernet" +
+      "esServiceAccountAdmissionRulesEntry\022\013\n\003k" +
+      "ey\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.b" +
+      "inaryauthorization.v1.AdmissionRule:\0028\001\032" +
+      "}\n\'IstioServiceIdentityAdmissionRulesEnt" +
+      "ry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google." +
+      "cloud.binaryauthorization.v1.AdmissionRu" +
+      "le:\0028\001\"d\n\032GlobalPolicyEvaluationMode\022-\n)" +
+      "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIE" +
+      "D\020\000\022\n\n\006ENABLE\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binar" +
+      "yauthorization.googleapis.com/Policy\022\031pr" +
+      "ojects/{project}/policy\022\033locations/{loca" +
+      "tion}/policy\"1\n\031AdmissionWhitelistPatter" +
+      "n\022\024\n\014name_pattern\030\001 \001(\t\"\335\003\n\rAdmissionRul" +
+      "e\022`\n\017evaluation_mode\030\001 \001(\0162A.google.clou" +
+      "d.binaryauthorization.v1.AdmissionRule.E" +
+      "valuationModeB\004\342A\001\002\022%\n\027require_attestati" +
+      "ons_by\030\002 \003(\tB\004\342A\001\001\022b\n\020enforcement_mode\030\003" +
+      " \001(\0162B.google.cloud.binaryauthorization." +
+      "v1.AdmissionRule.EnforcementModeB\004\342A\001\002\"m" +
+      "\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_UNSP" +
+      "ECIFIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_A" +
+      "TTESTATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforce" +
+      "mentMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED" +
+      "\020\000\022 \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025" +
+      "DRYRUN_AUDIT_LOG_ONLY\020\002\"\272\002\n\010Attestor\022\022\n\004" +
+      "name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342" +
+      "A\001\001\022\\\n\027user_owned_grafeas_note\030\003 \001(\01329.g" +
+      "oogle.cloud.binaryauthorization.v1.UserO" +
+      "wnedGrafeasNoteH\000\0225\n\013update_time\030\004 \001(\0132\032" +
+      ".google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n+b" +
+      "inaryauthorization.googleapis.com/Attest" +
+      "or\022\'projects/{project}/attestors/{attest" +
+      "or}B\017\n\rattestor_type\"\267\001\n\024UserOwnedGrafea" +
+      "sNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022Q\n\013p" +
+      "ublic_keys\030\002 \003(\01326.google.cloud.binaryau" +
+      "thorization.v1.AttestorPublicKeyB\004\342A\001\001\022." +
+      "\n delegation_service_account_email\030\003 \001(\t" +
+      "B\004\342A\001\003\"\277\004\n\rPkixPublicKey\022\026\n\016public_key_p" +
+      "em\030\001 \001(\t\022b\n\023signature_algorithm\030\002 \001(\0162E." +
+      "google.cloud.binaryauthorization.v1.Pkix" +
+      "PublicKey.SignatureAlgorithm\"\261\003\n\022Signatu" +
+      "reAlgorithm\022#\n\037SIGNATURE_ALGORITHM_UNSPE" +
+      "CIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA256\020\001\022\027\n\023RSA" +
+      "_PSS_3072_SHA256\020\002\022\027\n\023RSA_PSS_4096_SHA25" +
+      "6\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004\022\036\n\032RSA_SIGN" +
+      "_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3" +
+      "072_SHA256\020\006\022\036\n\032RSA_SIGN_PKCS1_4096_SHA2" +
+      "56\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_SHA512\020\010\022\025\n\021" +
+      "ECDSA_P256_SHA256\020\t\022\027\n\023EC_SIGN_P256_SHA2" +
+      "56\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022\027\n\023EC_SIGN_P" +
+      "384_SHA384\020\n\022\025\n\021ECDSA_P521_SHA512\020\013\022\027\n\023E" +
+      "C_SIGN_P521_SHA512\020\013\032\002\020\001\"\273\001\n\021AttestorPub" +
+      "licKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001\001\022\n\n\002id\030\002 \001(" +
+      "\t\022&\n\034ascii_armored_pgp_public_key\030\003 \001(\tH" +
+      "\000\022M\n\017pkix_public_key\030\005 \001(\01322.google.clou" +
+      "d.binaryauthorization.v1.PkixPublicKeyH\000" +
+      "B\014\n\npublic_keyB\214\002\n5com.google.protos.goo" +
+      "gle.cloud.binaryauthorization.v1P\000ZYclou" +
+      "d.google.com/go/binaryauthorization/apiv" +
+      "1/binaryauthorizationpb;binaryauthorizat" +
+      "ionpb\370\001\001\252\002#Google.Cloud.BinaryAuthorizat" +
+      "ion.V1\312\002#Google\\Cloud\\BinaryAuthorizatio" +
+      "n\\V1\352\002&Google::Cloud::BinaryAuthorizatio" +
+      "n::V1b\006proto3"
     };
-    descriptor =
-        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
-            descriptorData,
-            new com.google.protobuf.Descriptors.FileDescriptor[] {
-              com.google.api.FieldBehaviorProto.getDescriptor(),
-              com.google.api.ResourceProto.getDescriptor(),
-              com.google.protobuf.TimestampProto.getDescriptor(),
-            });
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
     internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor =
-        getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor,
-            new java.lang.String[] {
-              "Name",
-              "Description",
-              "GlobalPolicyEvaluationMode",
-              "AdmissionWhitelistPatterns",
-              "ClusterAdmissionRules",
-              "KubernetesNamespaceAdmissionRules",
-              "KubernetesServiceAccountAdmissionRules",
-              "IstioServiceIdentityAdmissionRules",
-              "DefaultAdmissionRule",
-              "UpdateTime",
-            });
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor,
+        new java.lang.String[] { "Name", "Description", "GlobalPolicyEvaluationMode", "AdmissionWhitelistPatterns", "ClusterAdmissionRules", "KubernetesNamespaceAdmissionRules", "KubernetesServiceAccountAdmissionRules", "IstioServiceIdentityAdmissionRules", "DefaultAdmissionRule", "UpdateTime", });
     internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor =
-        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
-            .getNestedTypes()
-            .get(0);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
+      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
     internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor =
-        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
-            .getNestedTypes()
-            .get(1);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
+      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
     internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor =
-        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
-            .getNestedTypes()
-            .get(2);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
+      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
     internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor =
-        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
-            .getNestedTypes()
-            .get(3);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor,
-            new java.lang.String[] {
-              "Key", "Value",
-            });
+      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
     internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor =
-        getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor,
-            new java.lang.String[] {
-              "NamePattern",
-            });
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor,
+        new java.lang.String[] { "NamePattern", });
     internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor =
-        getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor,
-            new java.lang.String[] {
-              "EvaluationMode", "RequireAttestationsBy", "EnforcementMode",
-            });
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor,
+        new java.lang.String[] { "EvaluationMode", "RequireAttestationsBy", "EnforcementMode", });
     internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor =
-        getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor,
-            new java.lang.String[] {
-              "Name", "Description", "UserOwnedGrafeasNote", "UpdateTime", "AttestorType",
-            });
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor,
+        new java.lang.String[] { "Name", "Description", "UserOwnedGrafeasNote", "UpdateTime", "AttestorType", });
     internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor =
-        getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor,
-            new java.lang.String[] {
-              "NoteReference", "PublicKeys", "DelegationServiceAccountEmail",
-            });
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor,
+        new java.lang.String[] { "NoteReference", "PublicKeys", "DelegationServiceAccountEmail", });
     internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor =
-        getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor,
-            new java.lang.String[] {
-              "PublicKeyPem", "SignatureAlgorithm",
-            });
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor,
+        new java.lang.String[] { "PublicKeyPem", "SignatureAlgorithm", });
     internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor =
-        getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable =
-        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-            internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor,
-            new java.lang.String[] {
-              "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey",
-            });
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor,
+        new java.lang.String[] { "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey", });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
     registry.add(com.google.api.ResourceProto.resource);
-    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
-        descriptor, registry);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
     com.google.api.FieldBehaviorProto.getDescriptor();
     com.google.api.ResourceProto.getDescriptor();
     com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
similarity index 59%
rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
rename to owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
index 03b5a8a212da..d22da7205503 100644
--- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
+++ b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/binaryauthorization/v1/service.proto
 
@@ -20,110 +5,91 @@
 
 public final class Service {
   private Service() {}
-
-  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
-
-  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
   }
 
-  public interface GetPolicyRequestOrBuilder
-      extends
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  public interface GetPolicyRequestOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.GetPolicyRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.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 resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.google.api.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(); } /** - * - * *
    * Request message for [BinauthzManagementService.GetPolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetPolicyRequest} */ - public static final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.GetPolicyRequest) GetPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPolicyRequest.newBuilder() to construct. private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.Builder - .class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.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 @@ -132,32 +98,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 resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -166,7 +130,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -202,17 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -231,101 +193,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -335,44 +286,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for [BinauthzManagementService.GetPolicy][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetPolicyRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.GetPolicyRequest) com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -382,23 +328,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -406,20 +348,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -430,56 +366,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -511,19 +437,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,28 +457,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * - * string name = 1 [(.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; @@ -563,24 +482,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * - * string name = 1 [(.google.api.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 { @@ -588,41 +504,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * - * string 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() { @@ -632,31 +537,24 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -669,46 +567,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.GetPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.GetPolicyRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -720,124 +613,98 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdatePolicyRequestOrBuilder - extends + public interface UpdatePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The policy. */ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy(); /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder - getPolicyOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder getPolicyOrBuilder(); } /** - * - * *
    * Request message for [BinauthzManagementService.UpdatePolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdatePolicyRequest} */ - public static final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdatePolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) UpdatePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePolicyRequest.newBuilder() to construct. private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePolicyRequest() {} + private UpdatePolicyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.Builder.class); } public static final int POLICY_FIELD_NUMBER = 1; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy policy_; /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the policy field is set. */ @java.lang.Override @@ -845,51 +712,34 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The policy. */ @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy() { - return policy_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance() - : policy_; + return policy_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder - getPolicyOrBuilder() { - return policy_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance() - : policy_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder getPolicyOrBuilder() { + return policy_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -901,7 +751,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -915,7 +766,8 @@ public int getSerializedSize() { size = 0; if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPolicy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -925,19 +777,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.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) obj; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; + if (!getPolicy() + .equals(other.getPolicy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -959,102 +809,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1064,44 +902,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for [BinauthzManagementService.UpdatePolicy][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdatePolicyRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1115,23 +948,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1139,24 +968,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null + ? policy_ + : policyBuilder_.build(); } } @@ -1164,56 +988,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.getDefaultInstance()) return this; if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } @@ -1243,19 +1057,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1265,73 +1079,51 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> - policyBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> policyBuilder_; /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The policy. */ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy() { if (policyBuilder_ == null) { - return policy_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance() - : policy_; + return policy_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; } else { return policyBuilder_.getMessage(); } } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { + public Builder setPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { if (policyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1345,21 +1137,16 @@ public Builder setPolicy( return this; } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder builderForValue) { if (policyBuilder_ == null) { policy_ = builderForValue.build(); } else { @@ -1370,26 +1157,19 @@ public Builder setPolicy( return this; } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergePolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { + public Builder mergePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { if (policyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && policy_ != null - && policy_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + policy_ != null && + policy_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance()) { getPolicyBuilder().mergeFrom(value); } else { policy_ = value; @@ -1402,17 +1182,13 @@ public Builder mergePolicy( return this; } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPolicy() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1425,78 +1201,58 @@ public Builder clearPolicy() { return this; } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder - getPolicyBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder getPolicyBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPolicyFieldBuilder().getBuilder(); } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder - getPolicyOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder getPolicyOrBuilder() { if (policyBuilder_ != null) { return policyBuilder_.getMessageOrBuilder(); } else { - return policy_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy - .getDefaultInstance() - : policy_; + return policy_ == null ? + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; } } /** - * - * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> getPolicyFieldBuilder() { if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder>( - getPolicy(), getParentForChildren(), isClean()); + policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder>( + getPolicy(), + getParentForChildren(), + isClean()); policy_ = null; } return policyBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1509,46 +1265,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdatePolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1560,138 +1311,105 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CreateAttestorRequestOrBuilder - extends + public interface CreateAttestorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.CreateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * - * string parent = 1 [(.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 of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * - * string parent = 1 [(.google.api.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 [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestorId. */ java.lang.String getAttestorId(); /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestorId. */ - com.google.protobuf.ByteString getAttestorIdBytes(); + com.google.protobuf.ByteString + getAttestorIdBytes(); /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ boolean hasAttestor(); /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor(); /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder(); } /** - * - * *
    * Request message for [BinauthzManagementService.CreateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.CreateAttestorRequest} */ - public static final class CreateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CreateAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.CreateAttestorRequest) CreateAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAttestorRequest.newBuilder() to construct. private CreateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAttestorRequest() { parent_ = ""; attestorId_ = ""; @@ -1699,42 +1417,33 @@ private CreateAttestorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * - * string parent = 1 [(.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 @@ -1743,31 +1452,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -1776,18 +1483,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ATTESTOR_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object attestorId_ = ""; /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestorId. */ @java.lang.Override @@ -1796,29 +1499,29 @@ public java.lang.String getAttestorId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; } } /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestorId. */ @java.lang.Override - public com.google.protobuf.ByteString getAttestorIdBytes() { + public com.google.protobuf.ByteString + getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attestorId_ = b; return b; } else { @@ -1829,18 +1532,13 @@ public com.google.protobuf.ByteString getAttestorIdBytes() { public static final int ATTESTOR_FIELD_NUMBER = 3; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ @java.lang.Override @@ -1848,51 +1546,34 @@ public boolean hasAttestor() { return attestor_ != null; } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorOrBuilder() { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { + return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1904,7 +1585,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1930,7 +1612,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, attestorId_); } if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAttestor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1940,21 +1623,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.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getAttestorId().equals(other.getAttestorId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getAttestorId() + .equals(other.getAttestorId())) return false; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor().equals(other.getAttestor())) return false; + if (!getAttestor() + .equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1980,114 +1663,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2097,45 +1756,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for [BinauthzManagementService.CreateAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.CreateAttestorRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.CreateAttestorRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2151,23 +1804,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2175,21 +1824,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -2198,7 +1840,9 @@ private void buildPartial0( result.attestorId_ = attestorId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null + ? attestor_ + : attestorBuilder_.build(); } } @@ -2206,57 +1850,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -2296,31 +1929,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - attestorId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + attestorId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getAttestorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2330,27 +1961,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * - * string parent = 1 [(.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; @@ -2359,23 +1985,20 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * - * string parent = 1 [(.google.api.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 { @@ -2383,39 +2006,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * - * string 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() { @@ -2425,23 +2037,17 @@ public Builder clearParent() { return this; } /** - * - * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -2451,20 +2057,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object attestorId_ = ""; /** - * - * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestorId. */ public java.lang.String getAttestorId() { java.lang.Object ref = attestorId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; @@ -2473,21 +2077,20 @@ public java.lang.String getAttestorId() { } } /** - * - * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestorId. */ - public com.google.protobuf.ByteString getAttestorIdBytes() { + public com.google.protobuf.ByteString + getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attestorId_ = b; return b; } else { @@ -2495,35 +2098,28 @@ public com.google.protobuf.ByteString getAttestorIdBytes() { } } /** - * - * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttestorId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attestorId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAttestorId() { @@ -2533,21 +2129,17 @@ public Builder clearAttestorId() { return this; } /** - * - * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttestorIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attestorId_ = value; bitField0_ |= 0x00000002; @@ -2557,69 +2149,47 @@ public Builder setAttestorIdBytes(com.google.protobuf.ByteString value) { private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> - attestorBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> attestorBuilder_; /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - getAttestor() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } else { return attestorBuilder_.getMessage(); } } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder setAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2633,21 +2203,16 @@ public Builder setAttestor( return this; } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { if (attestorBuilder_ == null) { attestor_ = builderForValue.build(); } else { @@ -2658,26 +2223,19 @@ public Builder setAttestor( return this; } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder mergeAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && attestor_ != null - && attestor_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + attestor_ != null && + attestor_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -2690,17 +2248,13 @@ public Builder mergeAttestor( return this; } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2713,78 +2267,58 @@ public Builder clearAttestor() { return this; } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - getAttestorBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder getAttestorBuilder() { bitField0_ |= 0x00000004; onChanged(); return getAttestorFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + return attestor_ == null ? + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } } /** - * - * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorOrBuilder>(getAttestor(), getParentForChildren(), isClean()); + attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder>( + getAttestor(), + getParentForChildren(), + isClean()); attestor_ = null; } return attestorBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2797,47 +2331,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.CreateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.CreateAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .CreateAttestorRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2849,110 +2377,88 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GetAttestorRequestOrBuilder - extends + public interface GetAttestorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.GetAttestorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.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 [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.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(); } /** - * - * *
    * Request message for [BinauthzManagementService.GetAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetAttestorRequest} */ - public static final class GetAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.GetAttestorRequest) GetAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAttestorRequest.newBuilder() to construct. private GetAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.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 @@ -2961,32 +2467,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 [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -2995,7 +2499,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3007,7 +2510,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3031,17 +2535,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.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3060,102 +2562,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3165,44 +2655,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for [BinauthzManagementService.GetAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetAttestorRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.GetAttestorRequest) com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3212,23 +2697,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3236,20 +2717,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -3260,56 +2735,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -3341,19 +2806,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3363,28 +2826,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.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; @@ -3393,24 +2851,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.google.api.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 { @@ -3418,41 +2873,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string 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() { @@ -3462,31 +2906,24 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3499,46 +2936,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.GetAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.GetAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3550,124 +2982,98 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdateAttestorRequestOrBuilder - extends + public interface UpdateAttestorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ boolean hasAttestor(); /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor(); /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder(); } /** - * - * *
    * Request message for [BinauthzManagementService.UpdateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdateAttestorRequest} */ - public static final class UpdateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UpdateAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) UpdateAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAttestorRequest.newBuilder() to construct. private UpdateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAttestorRequest() {} + private UpdateAttestorRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.Builder.class); } public static final int ATTESTOR_FIELD_NUMBER = 1; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ @java.lang.Override @@ -3675,51 +3081,34 @@ public boolean hasAttestor() { return attestor_ != null; } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorOrBuilder() { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { + return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3731,7 +3120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (attestor_ != null) { output.writeMessage(1, getAttestor()); } @@ -3745,7 +3135,8 @@ public int getSerializedSize() { size = 0; if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttestor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3755,19 +3146,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.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) obj; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor().equals(other.getAttestor())) return false; + if (!getAttestor() + .equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3789,114 +3178,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3906,45 +3271,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for [BinauthzManagementService.UpdateAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdateAttestorRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3958,23 +3317,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3982,24 +3337,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null + ? attestor_ + : attestorBuilder_.build(); } } @@ -4007,57 +3357,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.getDefaultInstance()) return this; if (other.hasAttestor()) { mergeAttestor(other.getAttestor()); } @@ -4087,19 +3426,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAttestorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4109,74 +3448,51 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> - attestorBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> attestorBuilder_; /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - getAttestor() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } else { return attestorBuilder_.getMessage(); } } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder setAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4190,21 +3506,16 @@ public Builder setAttestor( return this; } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { if (attestorBuilder_ == null) { attestor_ = builderForValue.build(); } else { @@ -4215,26 +3526,19 @@ public Builder setAttestor( return this; } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder mergeAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && attestor_ != null - && attestor_ - != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + attestor_ != null && + attestor_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -4247,17 +3551,13 @@ public Builder mergeAttestor( return this; } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000001); @@ -4270,78 +3570,58 @@ public Builder clearAttestor() { return this; } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - getAttestorBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder getAttestorBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAttestorFieldBuilder().getBuilder(); } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance() - : attestor_; + return attestor_ == null ? + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; } } /** - * - * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorOrBuilder>(getAttestor(), getParentForChildren(), isClean()); + attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder>( + getAttestor(), + getParentForChildren(), + isClean()); attestor_ = null; } return attestorBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4354,47 +3634,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .UpdateAttestorRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4406,65 +3680,50 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListAttestorsRequestOrBuilder - extends + public interface ListAttestorsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ListAttestorsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.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 resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4472,13 +3731,10 @@ public interface ListAttestorsRequestOrBuilder
      * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4486,30 +3742,27 @@ public interface ListAttestorsRequestOrBuilder
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } /** - * - * *
    * Request message for [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsRequest} */ - public static final class ListAttestorsRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListAttestorsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ListAttestorsRequest) ListAttestorsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttestorsRequest.newBuilder() to construct. private ListAttestorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAttestorsRequest() { parent_ = ""; pageToken_ = ""; @@ -4517,43 +3770,34 @@ private ListAttestorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAttestorsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.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 @@ -4562,32 +3806,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 resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -4598,15 +3840,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -4615,12 +3854,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4628,7 +3864,6 @@ public int getPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -4637,15 +3872,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 token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4653,15 +3887,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 { @@ -4670,7 +3905,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4682,7 +3916,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4705,7 +3940,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_); @@ -4718,19 +3954,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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4753,102 +3989,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4858,45 +4082,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for [BinauthzManagementService.ListAttestors][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ListAttestorsRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4908,23 +4126,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4932,21 +4146,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -4963,57 +4170,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -5053,31 +4249,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5087,28 +4279,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * - * string parent = 1 [(.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; @@ -5117,24 +4304,21 @@ public java.lang.String getParent() { } } /** - * - * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.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 { @@ -5142,41 +4326,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * - * string 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() { @@ -5186,24 +4359,18 @@ public Builder clearParent() { return this; } /** - * - * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -5211,17 +4378,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
        * Requested page size. The server may return fewer results than requested. If
        * unspecified, the server will pick an appropriate default.
        * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -5229,15 +4393,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
        * Requested page size. The server may return fewer results than requested. If
        * unspecified, the server will pick an appropriate default.
        * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -5249,15 +4410,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
        * Requested page size. The server may return fewer results than requested. If
        * unspecified, the server will pick an appropriate default.
        * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -5269,8 +4427,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -5278,13 +4434,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; @@ -5293,8 +4449,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -5302,14 +4456,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 { @@ -5317,8 +4472,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -5326,22 +4479,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -5349,7 +4498,6 @@ public Builder setPageToken(java.lang.String value) {
        * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -5359,8 +4507,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -5368,21 +4514,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5395,46 +4538,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ListAttestorsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ListAttestorsRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5446,42 +4584,34 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ListAttestorsResponseOrBuilder - extends + public interface ListAttestorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ListAttestorsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - java.util.List + java.util.List getAttestorsList(); /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors( - int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors(int index); /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -5490,33 +4620,25 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAtte */ int getAttestorsCount(); /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + java.util.List getAttestorsOrBuilderList(); /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorsOrBuilder(int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorsOrBuilder( + int index); /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5524,13 +4646,10 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAtte
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5538,30 +4657,27 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAtte
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } /** - * - * *
    * Response message for [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsResponse} */ - public static final class ListAttestorsResponse extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ListAttestorsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ListAttestorsResponse) ListAttestorsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttestorsResponse.newBuilder() to construct. private ListAttestorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAttestorsResponse() { attestors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -5569,35 +4685,28 @@ private ListAttestorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAttestorsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.Builder.class); } public static final int ATTESTORS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private java.util.List - attestors_; + private java.util.List attestors_; /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -5605,13 +4714,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public java.util.List - getAttestorsList() { + public java.util.List getAttestorsList() { return attestors_; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -5619,15 +4725,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + public java.util.List getAttestorsOrBuilderList() { return attestors_; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -5639,8 +4741,6 @@ public int getAttestorsCount() { return attestors_.size(); } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -5648,13 +4748,10 @@ public int getAttestorsCount() { * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors(int index) { return attestors_.get(index); } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -5662,18 +4759,15 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorsOrBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorsOrBuilder( + int index) { return attestors_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5681,7 +4775,6 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -5690,15 +4783,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5706,15 +4798,16 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -5723,7 +4816,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5735,7 +4827,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < attestors_.size(); i++) { output.writeMessage(1, attestors_.get(i)); } @@ -5752,7 +4845,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < attestors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, attestors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, attestors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -5765,18 +4859,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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) obj; - if (!getAttestorsList().equals(other.getAttestorsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAttestorsList() + .equals(other.getAttestorsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5799,114 +4892,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5916,45 +4985,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Response message for [BinauthzManagementService.ListAttestors][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ListAttestorsResponse) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -5971,23 +5034,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5995,22 +5054,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse( - this); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - result) { + private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result) { if (attestorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attestors_ = java.util.Collections.unmodifiableList(attestors_); @@ -6022,9 +5074,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -6035,57 +5085,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.getDefaultInstance()) return this; if (attestorsBuilder_ == null) { if (!other.attestors_.isEmpty()) { if (attestors_.isEmpty()) { @@ -6104,10 +5143,9 @@ public Builder mergeFrom( attestorsBuilder_ = null; attestors_ = other.attestors_; bitField0_ = (bitField0_ & ~0x00000001); - attestorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAttestorsFieldBuilder() - : null; + attestorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAttestorsFieldBuilder() : null; } else { attestorsBuilder_.addAllMessages(other.attestors_); } @@ -6144,34 +5182,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor m = - input.readMessage( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .parser(), - extensionRegistry); - if (attestorsBuilder_ == null) { - ensureAttestorsIsMutable(); - attestors_.add(m); - } else { - attestorsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor m = + input.readMessage( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.parser(), + extensionRegistry); + if (attestorsBuilder_ == null) { + ensureAttestorsIsMutable(); + attestors_.add(m); + } else { + attestorsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6181,41 +5215,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - attestors_ = java.util.Collections.emptyList(); - + private java.util.List attestors_ = + java.util.Collections.emptyList(); private void ensureAttestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - attestors_ = - new java.util.ArrayList< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( - attestors_); + attestors_ = new java.util.ArrayList(attestors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> - attestorsBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> attestorsBuilder_; /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - getAttestorsList() { + public java.util.List getAttestorsList() { if (attestorsBuilder_ == null) { return java.util.Collections.unmodifiableList(attestors_); } else { @@ -6223,8 +5244,6 @@ private void ensureAttestorsIsMutable() { } } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6239,16 +5258,13 @@ public int getAttestorsCount() { } } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors(int index) { if (attestorsBuilder_ == null) { return attestors_.get(index); } else { @@ -6256,8 +5272,6 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor } } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6265,8 +5279,7 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder setAttestors( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6280,8 +5293,6 @@ public Builder setAttestors( return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6289,9 +5300,7 @@ public Builder setAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder setAttestors( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - builderForValue) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); attestors_.set(index, builderForValue.build()); @@ -6302,16 +5311,13 @@ public Builder setAttestors( return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public Builder addAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder addAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6325,8 +5331,6 @@ public Builder addAttestors( return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6334,8 +5338,7 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAttestors( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6349,8 +5352,6 @@ public Builder addAttestors( return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6358,8 +5359,7 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); attestors_.add(builderForValue.build()); @@ -6370,8 +5370,6 @@ public Builder addAttestors( return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6379,9 +5377,7 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAttestors( - int index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - builderForValue) { + int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); attestors_.add(index, builderForValue.build()); @@ -6392,8 +5388,6 @@ public Builder addAttestors( return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6401,13 +5395,11 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAllAttestors( - java.lang.Iterable< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> - values) { + java.lang.Iterable values) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attestors_); onChanged(); } else { attestorsBuilder_.addAllMessages(values); @@ -6415,8 +5407,6 @@ public Builder addAllAttestors( return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6434,8 +5424,6 @@ public Builder clearAttestors() { return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -6453,48 +5441,39 @@ public Builder removeAttestors(int index) { return this; } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - getAttestorsBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder getAttestorsBuilder( + int index) { return getAttestorsFieldBuilder().getBuilder(index); } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder - getAttestorsOrBuilder(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorsOrBuilder( + int index) { if (attestorsBuilder_ == null) { - return attestors_.get(index); - } else { + return attestors_.get(index); } else { return attestorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public java.util.List< - ? extends - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> - getAttestorsOrBuilderList() { + public java.util.List + getAttestorsOrBuilderList() { if (attestorsBuilder_ != null) { return attestorsBuilder_.getMessageOrBuilderList(); } else { @@ -6502,66 +5481,49 @@ public Builder removeAttestors(int index) { } } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - addAttestorsBuilder() { - return getAttestorsFieldBuilder() - .addBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder addAttestorsBuilder() { + return getAttestorsFieldBuilder().addBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()); } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder - addAttestorsBuilder(int index) { - return getAttestorsFieldBuilder() - .addBuilder( - index, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor - .getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder addAttestorsBuilder( + int index) { + return getAttestorsFieldBuilder().addBuilder( + index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()); } /** - * - * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public java.util.List< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder> - getAttestorsBuilderList() { + public java.util.List + getAttestorsBuilderList() { return getAttestorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorsFieldBuilder() { if (attestorsBuilder_ == null) { - attestorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, - com.google.protos.google.cloud.binaryauthorization.v1.Resources - .AttestorOrBuilder>( - attestors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + attestorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder>( + attestors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); attestors_ = null; } return attestorsBuilder_; @@ -6569,8 +5531,6 @@ public Builder removeAttestors(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -6578,13 +5538,13 @@ public Builder removeAttestors(int index) {
        * 
* * 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; @@ -6593,8 +5553,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -6602,14 +5560,15 @@ public java.lang.String getNextPageToken() {
        * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -6617,8 +5576,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -6626,22 +5583,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
        * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -6649,7 +5602,6 @@ public Builder setNextPageToken(java.lang.String value) {
        * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -6659,8 +5611,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -6668,21 +5618,18 @@ public Builder clearNextPageToken() {
        * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6695,47 +5642,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ListAttestorsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ListAttestorsResponse) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ListAttestorsResponse - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6747,110 +5688,88 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteAttestorRequestOrBuilder - extends + public interface DeleteAttestorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.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 [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.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(); } /** - * - * *
    * Request message for [BinauthzManagementService.DeleteAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.DeleteAttestorRequest} */ - public static final class DeleteAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) DeleteAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAttestorRequest.newBuilder() to construct. private DeleteAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.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 @@ -6859,32 +5778,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 [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -6893,7 +5810,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6905,7 +5821,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6929,17 +5846,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.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6958,114 +5873,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7075,45 +5966,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for [BinauthzManagementService.DeleteAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.DeleteAttestorRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -7123,23 +6008,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = - buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7147,21 +6028,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -7172,57 +6046,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -7254,19 +6117,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7276,28 +6137,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.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; @@ -7306,24 +6162,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.google.api.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 { @@ -7331,41 +6184,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string 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() { @@ -7375,31 +6217,24 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7412,47 +6247,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .DeleteAttestorRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7464,110 +6293,88 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface GetSystemPolicyRequestOrBuilder - extends + public interface GetSystemPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.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 resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.google.api.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(); } /** - * - * *
    * Request to read the current system policy.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetSystemPolicyRequest} */ - public static final class GetSystemPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GetSystemPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) GetSystemPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSystemPolicyRequest.newBuilder() to construct. private GetSystemPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSystemPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSystemPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.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 @@ -7576,32 +6383,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 resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -7610,7 +6415,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7622,7 +6426,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -7646,18 +6451,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.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) - obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7676,114 +6478,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7793,45 +6571,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request to read the current system policy.
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetSystemPolicyRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - .class, - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - .Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -7841,23 +6613,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - .getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7865,22 +6633,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -7891,57 +6651,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -7973,19 +6722,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7995,28 +6742,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * - * string name = 1 [(.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; @@ -8025,24 +6767,21 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * - * string name = 1 [(.google.api.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 { @@ -8050,41 +6789,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * - * string 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() { @@ -8094,31 +6822,24 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8131,48 +6852,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .GetSystemPolicyRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSystemPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSystemPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8184,20 +6898,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ValidateAttestationOccurrenceRequestOrBuilder - extends + public interface ValidateAttestationOccurrenceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -8205,13 +6916,10 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestor. */ java.lang.String getAttestor(); /** - * - * *
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -8219,14 +6927,12 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestor. */ - com.google.protobuf.ByteString getAttestorBytes(); + com.google.protobuf.ByteString + getAttestorBytes(); /** - * - * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -8234,16 +6940,11 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder
      * AttestationOccurrence.
      * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestation field is set. */ boolean hasAttestation(); /** - * - * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -8251,16 +6952,11 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder
      * AttestationOccurrence.
      * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The attestation. */ io.grafeas.v1.AttestationOccurrence getAttestation(); /** - * - * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -8268,69 +6964,55 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder
      * AttestationOccurrence.
      * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder(); /** - * - * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The occurrenceNote. */ java.lang.String getOccurrenceNote(); /** - * - * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for occurrenceNote. */ - com.google.protobuf.ByteString getOccurrenceNoteBytes(); + com.google.protobuf.ByteString + getOccurrenceNoteBytes(); /** - * - * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The occurrenceResourceUri. */ java.lang.String getOccurrenceResourceUri(); /** - * - * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for occurrenceResourceUri. */ - com.google.protobuf.ByteString getOccurrenceResourceUriBytes(); + com.google.protobuf.ByteString + getOccurrenceResourceUriBytes(); } /** - * - * *
    * Request message for
    * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
@@ -8338,18 +7020,15 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest}
    */
-  public static final class ValidateAttestationOccurrenceRequest
-      extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ValidateAttestationOccurrenceRequest extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest)
       ValidateAttestationOccurrenceRequestOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ValidateAttestationOccurrenceRequest.newBuilder() to construct.
-    private ValidateAttestationOccurrenceRequest(
-        com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private ValidateAttestationOccurrenceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ValidateAttestationOccurrenceRequest() {
       attestor_ = "";
       occurrenceNote_ = "";
@@ -8358,34 +7037,28 @@ private ValidateAttestationOccurrenceRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ValidateAttestationOccurrenceRequest();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service
-          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service
-          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Service
-                  .ValidateAttestationOccurrenceRequest.class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Service
-                  .ValidateAttestationOccurrenceRequest.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.Builder.class);
     }
 
     public static final int ATTESTOR_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object attestor_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -8393,7 +7066,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestor. */ @java.lang.Override @@ -8402,15 +7074,14 @@ public java.lang.String getAttestor() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestor_ = s; return s; } } /** - * - * *
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -8418,15 +7089,16 @@ public java.lang.String getAttestor() {
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestor. */ @java.lang.Override - public com.google.protobuf.ByteString getAttestorBytes() { + public com.google.protobuf.ByteString + getAttestorBytes() { java.lang.Object ref = attestor_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attestor_ = b; return b; } else { @@ -8437,8 +7109,6 @@ public com.google.protobuf.ByteString getAttestorBytes() { public static final int ATTESTATION_FIELD_NUMBER = 2; private io.grafeas.v1.AttestationOccurrence attestation_; /** - * - * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -8446,10 +7116,7 @@ public com.google.protobuf.ByteString getAttestorBytes() {
      * AttestationOccurrence.
      * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestation field is set. */ @java.lang.Override @@ -8457,8 +7124,6 @@ public boolean hasAttestation() { return attestation_ != null; } /** - * - * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -8466,21 +7131,14 @@ public boolean hasAttestation() {
      * AttestationOccurrence.
      * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The attestation. */ @java.lang.Override public io.grafeas.v1.AttestationOccurrence getAttestation() { - return attestation_ == null - ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() - : attestation_; + return attestation_ == null ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; } /** - * - * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -8488,31 +7146,23 @@ public io.grafeas.v1.AttestationOccurrence getAttestation() {
      * AttestationOccurrence.
      * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() { - return attestation_ == null - ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() - : attestation_; + return attestation_ == null ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; } public static final int OCCURRENCE_NOTE_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object occurrenceNote_ = ""; /** - * - * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The occurrenceNote. */ @java.lang.Override @@ -8521,30 +7171,30 @@ public java.lang.String getOccurrenceNote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceNote_ = s; return s; } } /** - * - * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for occurrenceNote. */ @java.lang.Override - public com.google.protobuf.ByteString getOccurrenceNoteBytes() { + public com.google.protobuf.ByteString + getOccurrenceNoteBytes() { java.lang.Object ref = occurrenceNote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); occurrenceNote_ = b; return b; } else { @@ -8553,19 +7203,15 @@ public com.google.protobuf.ByteString getOccurrenceNoteBytes() { } public static final int OCCURRENCE_RESOURCE_URI_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object occurrenceResourceUri_ = ""; /** - * - * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The occurrenceResourceUri. */ @java.lang.Override @@ -8574,30 +7220,30 @@ public java.lang.String getOccurrenceResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceResourceUri_ = s; return s; } } /** - * - * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for occurrenceResourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString getOccurrenceResourceUriBytes() { + public com.google.protobuf.ByteString + getOccurrenceResourceUriBytes() { java.lang.Object ref = occurrenceResourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); occurrenceResourceUri_ = b; return b; } else { @@ -8606,7 +7252,6 @@ public com.google.protobuf.ByteString getOccurrenceResourceUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8618,7 +7263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attestor_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attestor_); } @@ -8644,7 +7290,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attestor_); } if (attestation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAttestation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAttestation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(occurrenceNote_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, occurrenceNote_); @@ -8660,28 +7307,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest) - obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest) obj; - if (!getAttestor().equals(other.getAttestor())) return false; + if (!getAttestor() + .equals(other.getAttestor())) return false; if (hasAttestation() != other.hasAttestation()) return false; if (hasAttestation()) { - if (!getAttestation().equals(other.getAttestation())) return false; + if (!getAttestation() + .equals(other.getAttestation())) return false; } - if (!getOccurrenceNote().equals(other.getOccurrenceNote())) return false; - if (!getOccurrenceResourceUri().equals(other.getOccurrenceResourceUri())) return false; + if (!getOccurrenceNote() + .equals(other.getOccurrenceNote())) return false; + if (!getOccurrenceResourceUri() + .equals(other.getOccurrenceResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8708,115 +7351,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8826,47 +7444,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Request message for
      * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
      * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest} + * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest.class, - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -8883,26 +7494,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8910,32 +7514,22 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attestor_ = attestor_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.attestation_ = - attestationBuilder_ == null ? attestation_ : attestationBuilder_.build(); + result.attestation_ = attestationBuilder_ == null + ? attestation_ + : attestationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.occurrenceNote_ = occurrenceNote_; @@ -8949,60 +7543,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.getDefaultInstance()) return this; if (!other.getAttestor().isEmpty()) { attestor_ = other.attestor_; bitField0_ |= 0x00000001; @@ -9047,37 +7627,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - attestor_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getAttestationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - occurrenceNote_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - occurrenceResourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + attestor_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAttestationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + occurrenceNote_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + occurrenceResourceUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9087,13 +7664,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object attestor_ = ""; /** - * - * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -9101,13 +7675,13 @@ public Builder mergeFrom(
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestor. */ public java.lang.String getAttestor() { java.lang.Object ref = attestor_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestor_ = s; return s; @@ -9116,8 +7690,6 @@ public java.lang.String getAttestor() { } } /** - * - * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -9125,14 +7697,15 @@ public java.lang.String getAttestor() {
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestor. */ - public com.google.protobuf.ByteString getAttestorBytes() { + public com.google.protobuf.ByteString + getAttestorBytes() { java.lang.Object ref = attestor_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attestor_ = b; return b; } else { @@ -9140,8 +7713,6 @@ public com.google.protobuf.ByteString getAttestorBytes() { } } /** - * - * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -9149,22 +7720,18 @@ public com.google.protobuf.ByteString getAttestorBytes() {
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The attestor to set. * @return This builder for chaining. */ - public Builder setAttestor(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttestor( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attestor_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -9172,7 +7739,6 @@ public Builder setAttestor(java.lang.String value) {
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAttestor() { @@ -9182,8 +7748,6 @@ public Builder clearAttestor() { return this; } /** - * - * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -9191,14 +7755,12 @@ public Builder clearAttestor() {
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for attestor to set. * @return This builder for chaining. */ - public Builder setAttestorBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttestorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attestor_ = value; bitField0_ |= 0x00000001; @@ -9208,13 +7770,8 @@ public Builder setAttestorBytes(com.google.protobuf.ByteString value) { private io.grafeas.v1.AttestationOccurrence attestation_; private com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.AttestationOccurrence, - io.grafeas.v1.AttestationOccurrence.Builder, - io.grafeas.v1.AttestationOccurrenceOrBuilder> - attestationBuilder_; + io.grafeas.v1.AttestationOccurrence, io.grafeas.v1.AttestationOccurrence.Builder, io.grafeas.v1.AttestationOccurrenceOrBuilder> attestationBuilder_; /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9222,18 +7779,13 @@ public Builder setAttestorBytes(com.google.protobuf.ByteString value) {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestation field is set. */ public boolean hasAttestation() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9241,24 +7793,17 @@ public boolean hasAttestation() {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The attestation. */ public io.grafeas.v1.AttestationOccurrence getAttestation() { if (attestationBuilder_ == null) { - return attestation_ == null - ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() - : attestation_; + return attestation_ == null ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; } else { return attestationBuilder_.getMessage(); } } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9266,9 +7811,7 @@ public io.grafeas.v1.AttestationOccurrence getAttestation() {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence value) { if (attestationBuilder_ == null) { @@ -9284,8 +7827,6 @@ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence value) { return this; } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9293,11 +7834,10 @@ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence value) {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAttestation(io.grafeas.v1.AttestationOccurrence.Builder builderForValue) { + public Builder setAttestation( + io.grafeas.v1.AttestationOccurrence.Builder builderForValue) { if (attestationBuilder_ == null) { attestation_ = builderForValue.build(); } else { @@ -9308,8 +7848,6 @@ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence.Builder builde return this; } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9317,15 +7855,13 @@ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence.Builder builde
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAttestation(io.grafeas.v1.AttestationOccurrence value) { if (attestationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && attestation_ != null - && attestation_ != io.grafeas.v1.AttestationOccurrence.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + attestation_ != null && + attestation_ != io.grafeas.v1.AttestationOccurrence.getDefaultInstance()) { getAttestationBuilder().mergeFrom(value); } else { attestation_ = value; @@ -9338,8 +7874,6 @@ public Builder mergeAttestation(io.grafeas.v1.AttestationOccurrence value) { return this; } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9347,9 +7881,7 @@ public Builder mergeAttestation(io.grafeas.v1.AttestationOccurrence value) {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttestation() { bitField0_ = (bitField0_ & ~0x00000002); @@ -9362,8 +7894,6 @@ public Builder clearAttestation() { return this; } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9371,9 +7901,7 @@ public Builder clearAttestation() {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public io.grafeas.v1.AttestationOccurrence.Builder getAttestationBuilder() { bitField0_ |= 0x00000002; @@ -9381,8 +7909,6 @@ public io.grafeas.v1.AttestationOccurrence.Builder getAttestationBuilder() { return getAttestationFieldBuilder().getBuilder(); } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9390,22 +7916,17 @@ public io.grafeas.v1.AttestationOccurrence.Builder getAttestationBuilder() {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() { if (attestationBuilder_ != null) { return attestationBuilder_.getMessageOrBuilder(); } else { - return attestation_ == null - ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() - : attestation_; + return attestation_ == null ? + io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; } } /** - * - * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -9413,22 +7934,17 @@ public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() {
        * AttestationOccurrence.
        * 
* - * - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.AttestationOccurrence, - io.grafeas.v1.AttestationOccurrence.Builder, - io.grafeas.v1.AttestationOccurrenceOrBuilder> + io.grafeas.v1.AttestationOccurrence, io.grafeas.v1.AttestationOccurrence.Builder, io.grafeas.v1.AttestationOccurrenceOrBuilder> getAttestationFieldBuilder() { if (attestationBuilder_ == null) { - attestationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.AttestationOccurrence, - io.grafeas.v1.AttestationOccurrence.Builder, - io.grafeas.v1.AttestationOccurrenceOrBuilder>( - getAttestation(), getParentForChildren(), isClean()); + attestationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.grafeas.v1.AttestationOccurrence, io.grafeas.v1.AttestationOccurrence.Builder, io.grafeas.v1.AttestationOccurrenceOrBuilder>( + getAttestation(), + getParentForChildren(), + isClean()); attestation_ = null; } return attestationBuilder_; @@ -9436,21 +7952,19 @@ public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() { private java.lang.Object occurrenceNote_ = ""; /** - * - * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The occurrenceNote. */ public java.lang.String getOccurrenceNote() { java.lang.Object ref = occurrenceNote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceNote_ = s; return s; @@ -9459,22 +7973,21 @@ public java.lang.String getOccurrenceNote() { } } /** - * - * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for occurrenceNote. */ - public com.google.protobuf.ByteString getOccurrenceNoteBytes() { + public com.google.protobuf.ByteString + getOccurrenceNoteBytes() { java.lang.Object ref = occurrenceNote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); occurrenceNote_ = b; return b; } else { @@ -9482,37 +7995,30 @@ public com.google.protobuf.ByteString getOccurrenceNoteBytes() { } } /** - * - * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The occurrenceNote to set. * @return This builder for chaining. */ - public Builder setOccurrenceNote(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOccurrenceNote( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } occurrenceNote_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOccurrenceNote() { @@ -9522,22 +8028,18 @@ public Builder clearOccurrenceNote() { return this; } /** - * - * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for occurrenceNote to set. * @return This builder for chaining. */ - public Builder setOccurrenceNoteBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOccurrenceNoteBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); occurrenceNote_ = value; bitField0_ |= 0x00000004; @@ -9547,21 +8049,19 @@ public Builder setOccurrenceNoteBytes(com.google.protobuf.ByteString value) { private java.lang.Object occurrenceResourceUri_ = ""; /** - * - * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The occurrenceResourceUri. */ public java.lang.String getOccurrenceResourceUri() { java.lang.Object ref = occurrenceResourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceResourceUri_ = s; return s; @@ -9570,22 +8070,21 @@ public java.lang.String getOccurrenceResourceUri() { } } /** - * - * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for occurrenceResourceUri. */ - public com.google.protobuf.ByteString getOccurrenceResourceUriBytes() { + public com.google.protobuf.ByteString + getOccurrenceResourceUriBytes() { java.lang.Object ref = occurrenceResourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); occurrenceResourceUri_ = b; return b; } else { @@ -9593,37 +8092,30 @@ public com.google.protobuf.ByteString getOccurrenceResourceUriBytes() { } } /** - * - * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The occurrenceResourceUri to set. * @return This builder for chaining. */ - public Builder setOccurrenceResourceUri(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOccurrenceResourceUri( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } occurrenceResourceUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOccurrenceResourceUri() { @@ -9633,29 +8125,24 @@ public Builder clearOccurrenceResourceUri() { return this; } /** - * - * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for occurrenceResourceUri to set. * @return This builder for chaining. */ - public Builder setOccurrenceResourceUriBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOccurrenceResourceUriBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); occurrenceResourceUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9668,48 +8155,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAttestationOccurrenceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAttestationOccurrenceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9721,77 +8201,56 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceRequest - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ValidateAttestationOccurrenceResponseOrBuilder - extends + public interface ValidateAttestationOccurrenceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The result of the Attestation validation.
      * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @return The enum numeric value on the wire for result. */ int getResultValue(); /** - * - * *
      * The result of the Attestation validation.
      * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @return The result. */ - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result - getResult(); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result getResult(); /** - * - * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; - * * @return The denialReason. */ java.lang.String getDenialReason(); /** - * - * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; - * * @return The bytes for denialReason. */ - com.google.protobuf.ByteString getDenialReasonBytes(); + com.google.protobuf.ByteString + getDenialReasonBytes(); } /** - * - * *
    * Response message for
    * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
@@ -9799,18 +8258,15 @@ public interface ValidateAttestationOccurrenceResponseOrBuilder
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse}
    */
-  public static final class ValidateAttestationOccurrenceResponse
-      extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class ValidateAttestationOccurrenceResponse extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse)
       ValidateAttestationOccurrenceResponseOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use ValidateAttestationOccurrenceResponse.newBuilder() to construct.
-    private ValidateAttestationOccurrenceResponse(
-        com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private ValidateAttestationOccurrenceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private ValidateAttestationOccurrenceResponse() {
       result_ = 0;
       denialReason_ = "";
@@ -9818,41 +8274,34 @@ private ValidateAttestationOccurrenceResponse() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new ValidateAttestationOccurrenceResponse();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service
-          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service
-          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Service
-                  .ValidateAttestationOccurrenceResponse.class,
-              com.google.protos.google.cloud.binaryauthorization.v1.Service
-                  .ValidateAttestationOccurrenceResponse.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The enum returned in the "result" field.
      * 
* - * Protobuf enum {@code - * google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result} + * Protobuf enum {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result} */ - public enum Result implements com.google.protobuf.ProtocolMessageEnum { + public enum Result + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Unspecified.
        * 
@@ -9861,8 +8310,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ RESULT_UNSPECIFIED(0), /** - * - * *
        * The Attestation was able to verified by the Attestor.
        * 
@@ -9871,8 +8318,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ VERIFIED(1), /** - * - * *
        * The Attestation was not able to verified by the Attestor.
        * 
@@ -9884,8 +8329,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Unspecified.
        * 
@@ -9894,8 +8337,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The Attestation was able to verified by the Attestor.
        * 
@@ -9904,8 +8345,6 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VERIFIED_VALUE = 1; /** - * - * *
        * The Attestation was not able to verified by the Attestor.
        * 
@@ -9914,6 +8353,7 @@ public enum Result implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ATTESTATION_NOT_VERIFIABLE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -9938,52 +8378,49 @@ public static Result valueOf(int value) { */ public static Result forNumber(int value) { switch (value) { - case 0: - return RESULT_UNSPECIFIED; - case 1: - return VERIFIED; - case 2: - return ATTESTATION_NOT_VERIFIABLE; - default: - return null; + case 0: return RESULT_UNSPECIFIED; + case 1: return VERIFIED; + case 2: return ATTESTATION_NOT_VERIFIABLE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Result> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Result findValueByNumber(int number) { + return Result.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Result findValueByNumber(int number) { - return Result.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDescriptor().getEnumTypes().get(0); } private static final Result[] VALUES = values(); - public static Result valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Result 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; @@ -10003,63 +8440,38 @@ private Result(int value) { public static final int RESULT_FIELD_NUMBER = 1; private int result_ = 0; /** - * - * *
      * The result of the Attestation validation.
      * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
      * The result of the Attestation validation.
      * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @return The result. */ - @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result - getResult() { - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result - result = - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result.forNumber(result_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED - : result; + @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result getResult() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result result = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.forNumber(result_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED : result; } public static final int DENIAL_REASON_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object denialReason_ = ""; /** - * - * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; - * * @return The denialReason. */ @java.lang.Override @@ -10068,29 +8480,29 @@ public java.lang.String getDenialReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denialReason_ = s; return s; } } /** - * - * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; - * * @return The bytes for denialReason. */ @java.lang.Override - public com.google.protobuf.ByteString getDenialReasonBytes() { + public com.google.protobuf.ByteString + getDenialReasonBytes() { java.lang.Object ref = denialReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); denialReason_ = b; return b; } else { @@ -10099,7 +8511,6 @@ public com.google.protobuf.ByteString getDenialReasonBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -10111,11 +8522,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (result_ - != com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (result_ != com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED.getNumber()) { output.writeEnum(1, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(denialReason_)) { @@ -10130,11 +8539,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (result_ - != com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_); + if (result_ != com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(denialReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, denialReason_); @@ -10147,23 +8554,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.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse)) { + if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - other = - (com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse) - obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse) obj; if (result_ != other.result_) return false; - if (!getDenialReason().equals(other.getDenialReason())) return false; + if (!getDenialReason() + .equals(other.getDenialReason())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -10184,115 +8584,90 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - prototype) { + public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -10302,47 +8677,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Response message for
      * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
      * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse} + * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.class, - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Builder.class); } - // Construct using - // com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.newBuilder() - private Builder() {} + // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -10353,26 +8721,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -10380,25 +8741,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - result = - new com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - result) { + private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = result_; @@ -10412,60 +8762,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse) { - return mergeFrom( - (com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse) - other); + if (other instanceof com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse) { + return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - other) { - if (other - == com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse other) { + if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDefaultInstance()) return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -10500,25 +8836,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - denialReason_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + denialReason_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -10528,38 +8861,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int result_ = 0; /** - * - * *
        * The result of the Attestation validation.
        * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @return The enum numeric value on the wire for result. */ - @java.lang.Override - public int getResultValue() { + @java.lang.Override public int getResultValue() { return result_; } /** - * - * *
        * The result of the Attestation validation.
        * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -10570,50 +8891,28 @@ public Builder setResultValue(int value) { return this; } /** - * - * *
        * The result of the Attestation validation.
        * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @return The result. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result - getResult() { - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result - result = - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result.forNumber(result_); - return result == null - ? com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED - : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result getResult() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result result = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.forNumber(result_); + return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED : result; } /** - * - * *
        * The result of the Attestation validation.
        * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult( - com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse.Result - value) { + public Builder setResult(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result value) { if (value == null) { throw new NullPointerException(); } @@ -10623,16 +8922,11 @@ public Builder setResult( return this; } /** - * - * *
        * The result of the Attestation validation.
        * 
* - * - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; - * - * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; * @return This builder for chaining. */ public Builder clearResult() { @@ -10644,20 +8938,18 @@ public Builder clearResult() { private java.lang.Object denialReason_ = ""; /** - * - * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; - * * @return The denialReason. */ public java.lang.String getDenialReason() { java.lang.Object ref = denialReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denialReason_ = s; return s; @@ -10666,21 +8958,20 @@ public java.lang.String getDenialReason() { } } /** - * - * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; - * * @return The bytes for denialReason. */ - public com.google.protobuf.ByteString getDenialReasonBytes() { + public com.google.protobuf.ByteString + getDenialReasonBytes() { java.lang.Object ref = denialReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); denialReason_ = b; return b; } else { @@ -10688,35 +8979,28 @@ public com.google.protobuf.ByteString getDenialReasonBytes() { } } /** - * - * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; - * * @param value The denialReason to set. * @return This builder for chaining. */ - public Builder setDenialReason(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDenialReason( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } denialReason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; - * * @return This builder for chaining. */ public Builder clearDenialReason() { @@ -10726,28 +9010,23 @@ public Builder clearDenialReason() { return this; } /** - * - * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; - * * @param value The bytes for denialReason to set. * @return This builder for chaining. */ - public Builder setDenialReasonBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDenialReasonBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); denialReason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10760,48 +9039,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - DEFAULT_INSTANCE; - + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse(); + DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAttestationOccurrenceResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAttestationOccurrenceResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10813,269 +9085,256 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service - .ValidateAttestationOccurrenceResponse - getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { return descriptor; } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { java.lang.String[] descriptorData = { - "\n1google/cloud/binaryauthorization/v1/se" - + "rvice.proto\022#google.cloud.binaryauthoriz" - + "ation.v1\032\034google/api/annotations.proto\032\027" - + "google/api/client.proto\032\037google/api/fiel" - + "d_behavior.proto\032\031google/api/resource.pr" - + "oto\0323google/cloud/binaryauthorization/v1" - + "/resources.proto\032\033google/protobuf/empty." - + "proto\032\034grafeas/v1/attestation.proto\"T\n\020G" - + "etPolicyRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)" - + "binaryauthorization.googleapis.com/Polic" - + "y\"X\n\023UpdatePolicyRequest\022A\n\006policy\030\001 \001(\013" - + "2+.google.cloud.binaryauthorization.v1.P" - + "olicyB\004\342A\001\002\"\277\001\n\025CreateAttestorRequest\022D\n" - + "\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourceman" - + "ager.googleapis.com/Project\022\031\n\013attestor_" - + "id\030\002 \001(\tB\004\342A\001\002\022E\n\010attestor\030\003 \001(\0132-.googl" - + "e.cloud.binaryauthorization.v1.AttestorB" - + "\004\342A\001\002\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(" - + "\tB4\342A\001\002\372A-\n+binaryauthorization.googleap" - + "is.com/Attestor\"^\n\025UpdateAttestorRequest" - + "\022E\n\010attestor\030\001 \001(\0132-.google.cloud.binary" - + "authorization.v1.AttestorB\004\342A\001\002\"\203\001\n\024List" - + "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A" - + "-\n+cloudresourcemanager.googleapis.com/P" - + "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" - + "\003 \001(\t\"r\n\025ListAttestorsResponse\022@\n\tattest" - + "ors\030\001 \003(\0132-.google.cloud.binaryauthoriza" - + "tion.v1.Attestor\022\027\n\017next_page_token\030\002 \001(" - + "\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030\001 \001(\t" - + "B4\342A\001\002\372A-\n+binaryauthorization.googleapi" - + "s.com/Attestor\"Z\n\026GetSystemPolicyRequest" - + "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza" - + "tion.googleapis.com/Policy\"\302\001\n$ValidateA" - + "ttestationOccurrenceRequest\022\026\n\010attestor\030" - + "\001 \001(\tB\004\342A\001\002\022<\n\013attestation\030\002 \001(\0132!.grafe" - + "as.v1.AttestationOccurrenceB\004\342A\001\002\022\035\n\017occ" - + "urrence_note\030\003 \001(\tB\004\342A\001\002\022%\n\027occurrence_r" - + "esource_uri\030\004 \001(\tB\004\342A\001\002\"\361\001\n%ValidateAtte" - + "stationOccurrenceResponse\022a\n\006result\030\001 \001(" - + "\0162Q.google.cloud.binaryauthorization.v1." - + "ValidateAttestationOccurrenceResponse.Re" - + "sult\022\025\n\rdenial_reason\030\002 \001(\t\"N\n\006Result\022\026\n" - + "\022RESULT_UNSPECIFIED\020\000\022\014\n\010VERIFIED\020\001\022\036\n\032A" - + "TTESTATION_NOT_VERIFIABLE\020\0022\342\n\n\033Binauthz" - + "ManagementServiceV1\022\234\001\n\tGetPolicy\0225.goog" - + "le.cloud.binaryauthorization.v1.GetPolic" - + "yRequest\032+.google.cloud.binaryauthorizat" - + "ion.v1.Policy\"+\332A\004name\202\323\344\223\002\036\022\034/v1/{name=" - + "projects/*/policy}\022\263\001\n\014UpdatePolicy\0228.go" - + "ogle.cloud.binaryauthorization.v1.Update" - + "PolicyRequest\032+.google.cloud.binaryautho" - + "rization.v1.Policy\"<\332A\006policy\202\323\344\223\002-\032#/v1" - + "/{policy.name=projects/*/policy}:\006policy" - + "\022\316\001\n\016CreateAttestor\022:.google.cloud.binar" - + "yauthorization.v1.CreateAttestorRequest\032" - + "-.google.cloud.binaryauthorization.v1.At" - + "testor\"Q\332A\033parent,attestor_id,attestor\202\323" - + "\344\223\002-\"!/v1/{parent=projects/*}/attestors:" - + "\010attestor\022\247\001\n\013GetAttestor\0227.google.cloud" - + ".binaryauthorization.v1.GetAttestorReque" - + "st\032-.google.cloud.binaryauthorization.v1" - + ".Attestor\"0\332A\004name\202\323\344\223\002#\022!/v1/{name=proj" - + "ects/*/attestors/*}\022\304\001\n\016UpdateAttestor\022:" - + ".google.cloud.binaryauthorization.v1.Upd" - + "ateAttestorRequest\032-.google.cloud.binary" - + "authorization.v1.Attestor\"G\332A\010attestor\202\323" - + "\344\223\0026\032*/v1/{attestor.name=projects/*/atte" - + "stors/*}:\010attestor\022\272\001\n\rListAttestors\0229.g" - + "oogle.cloud.binaryauthorization.v1.ListA" - + "ttestorsRequest\032:.google.cloud.binaryaut" - + "horization.v1.ListAttestorsResponse\"2\332A\006" - + "parent\202\323\344\223\002#\022!/v1/{parent=projects/*}/at" - + "testors\022\226\001\n\016DeleteAttestor\022:.google.clou" - + "d.binaryauthorization.v1.DeleteAttestorR" - + "equest\032\026.google.protobuf.Empty\"0\332A\004name\202" - + "\323\344\223\002#*!/v1/{name=projects/*/attestors/*}" - + "\032V\312A\"binaryauthorization.googleapis.com\322" - + "A.https://www.googleapis.com/auth/cloud-" - + "platform2\224\002\n\016SystemPolicyV1\022\251\001\n\017GetSyste" - + "mPolicy\022;.google.cloud.binaryauthorizati" - + "on.v1.GetSystemPolicyRequest\032+.google.cl" - + "oud.binaryauthorization.v1.Policy\",\332A\004na" - + "me\202\323\344\223\002\037\022\035/v1/{name=locations/*/policy}\032" - + "V\312A\"binaryauthorization.googleapis.com\322A" - + ".https://www.googleapis.com/auth/cloud-p" - + "latform2\365\002\n\022ValidationHelperV1\022\206\002\n\035Valid" - + "ateAttestationOccurrence\022I.google.cloud." - + "binaryauthorization.v1.ValidateAttestati" - + "onOccurrenceRequest\032J.google.cloud.binar" - + "yauthorization.v1.ValidateAttestationOcc" - + "urrenceResponse\"N\202\323\344\223\002H\"C/v1/{attestor=p" - + "rojects/*/attestors/*}:validateAttestati" - + "onOccurrence:\001*\032V\312A\"binaryauthorization." - + "googleapis.com\322A.https://www.googleapis." - + "com/auth/cloud-platformB\214\002\n5com.google.p" - + "rotos.google.cloud.binaryauthorization.v" - + "1P\000ZYcloud.google.com/go/binaryauthoriza" - + "tion/apiv1/binaryauthorizationpb;binarya" - + "uthorizationpb\370\001\001\252\002#Google.Cloud.BinaryA" - + "uthorization.V1\312\002#Google\\Cloud\\BinaryAut" - + "horization\\V1\352\002&Google::Cloud::BinaryAut" - + "horization::V1b\006proto3" + "\n1google/cloud/binaryauthorization/v1/se" + + "rvice.proto\022#google.cloud.binaryauthoriz" + + "ation.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\032\037google/api/fiel" + + "d_behavior.proto\032\031google/api/resource.pr" + + "oto\0323google/cloud/binaryauthorization/v1" + + "/resources.proto\032\033google/protobuf/empty." + + "proto\032\034grafeas/v1/attestation.proto\"T\n\020G" + + "etPolicyRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)" + + "binaryauthorization.googleapis.com/Polic" + + "y\"X\n\023UpdatePolicyRequest\022A\n\006policy\030\001 \001(\013" + + "2+.google.cloud.binaryauthorization.v1.P" + + "olicyB\004\342A\001\002\"\277\001\n\025CreateAttestorRequest\022D\n" + + "\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourceman" + + "ager.googleapis.com/Project\022\031\n\013attestor_" + + "id\030\002 \001(\tB\004\342A\001\002\022E\n\010attestor\030\003 \001(\0132-.googl" + + "e.cloud.binaryauthorization.v1.AttestorB" + + "\004\342A\001\002\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(" + + "\tB4\342A\001\002\372A-\n+binaryauthorization.googleap" + + "is.com/Attestor\"^\n\025UpdateAttestorRequest" + + "\022E\n\010attestor\030\001 \001(\0132-.google.cloud.binary" + + "authorization.v1.AttestorB\004\342A\001\002\"\203\001\n\024List" + + "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A" + + "-\n+cloudresourcemanager.googleapis.com/P" + + "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"r\n\025ListAttestorsResponse\022@\n\tattest" + + "ors\030\001 \003(\0132-.google.cloud.binaryauthoriza" + + "tion.v1.Attestor\022\027\n\017next_page_token\030\002 \001(" + + "\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030\001 \001(\t" + + "B4\342A\001\002\372A-\n+binaryauthorization.googleapi" + + "s.com/Attestor\"Z\n\026GetSystemPolicyRequest" + + "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza" + + "tion.googleapis.com/Policy\"\302\001\n$ValidateA" + + "ttestationOccurrenceRequest\022\026\n\010attestor\030" + + "\001 \001(\tB\004\342A\001\002\022<\n\013attestation\030\002 \001(\0132!.grafe" + + "as.v1.AttestationOccurrenceB\004\342A\001\002\022\035\n\017occ" + + "urrence_note\030\003 \001(\tB\004\342A\001\002\022%\n\027occurrence_r" + + "esource_uri\030\004 \001(\tB\004\342A\001\002\"\361\001\n%ValidateAtte" + + "stationOccurrenceResponse\022a\n\006result\030\001 \001(" + + "\0162Q.google.cloud.binaryauthorization.v1." + + "ValidateAttestationOccurrenceResponse.Re" + + "sult\022\025\n\rdenial_reason\030\002 \001(\t\"N\n\006Result\022\026\n" + + "\022RESULT_UNSPECIFIED\020\000\022\014\n\010VERIFIED\020\001\022\036\n\032A" + + "TTESTATION_NOT_VERIFIABLE\020\0022\342\n\n\033Binauthz" + + "ManagementServiceV1\022\234\001\n\tGetPolicy\0225.goog" + + "le.cloud.binaryauthorization.v1.GetPolic" + + "yRequest\032+.google.cloud.binaryauthorizat" + + "ion.v1.Policy\"+\332A\004name\202\323\344\223\002\036\022\034/v1/{name=" + + "projects/*/policy}\022\263\001\n\014UpdatePolicy\0228.go" + + "ogle.cloud.binaryauthorization.v1.Update" + + "PolicyRequest\032+.google.cloud.binaryautho" + + "rization.v1.Policy\"<\332A\006policy\202\323\344\223\002-\032#/v1" + + "/{policy.name=projects/*/policy}:\006policy" + + "\022\316\001\n\016CreateAttestor\022:.google.cloud.binar" + + "yauthorization.v1.CreateAttestorRequest\032" + + "-.google.cloud.binaryauthorization.v1.At" + + "testor\"Q\332A\033parent,attestor_id,attestor\202\323" + + "\344\223\002-\"!/v1/{parent=projects/*}/attestors:" + + "\010attestor\022\247\001\n\013GetAttestor\0227.google.cloud" + + ".binaryauthorization.v1.GetAttestorReque" + + "st\032-.google.cloud.binaryauthorization.v1" + + ".Attestor\"0\332A\004name\202\323\344\223\002#\022!/v1/{name=proj" + + "ects/*/attestors/*}\022\304\001\n\016UpdateAttestor\022:" + + ".google.cloud.binaryauthorization.v1.Upd" + + "ateAttestorRequest\032-.google.cloud.binary" + + "authorization.v1.Attestor\"G\332A\010attestor\202\323" + + "\344\223\0026\032*/v1/{attestor.name=projects/*/atte" + + "stors/*}:\010attestor\022\272\001\n\rListAttestors\0229.g" + + "oogle.cloud.binaryauthorization.v1.ListA" + + "ttestorsRequest\032:.google.cloud.binaryaut" + + "horization.v1.ListAttestorsResponse\"2\332A\006" + + "parent\202\323\344\223\002#\022!/v1/{parent=projects/*}/at" + + "testors\022\226\001\n\016DeleteAttestor\022:.google.clou" + + "d.binaryauthorization.v1.DeleteAttestorR" + + "equest\032\026.google.protobuf.Empty\"0\332A\004name\202" + + "\323\344\223\002#*!/v1/{name=projects/*/attestors/*}" + + "\032V\312A\"binaryauthorization.googleapis.com\322" + + "A.https://www.googleapis.com/auth/cloud-" + + "platform2\224\002\n\016SystemPolicyV1\022\251\001\n\017GetSyste" + + "mPolicy\022;.google.cloud.binaryauthorizati" + + "on.v1.GetSystemPolicyRequest\032+.google.cl" + + "oud.binaryauthorization.v1.Policy\",\332A\004na" + + "me\202\323\344\223\002\037\022\035/v1/{name=locations/*/policy}\032" + + "V\312A\"binaryauthorization.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latform2\365\002\n\022ValidationHelperV1\022\206\002\n\035Valid" + + "ateAttestationOccurrence\022I.google.cloud." + + "binaryauthorization.v1.ValidateAttestati" + + "onOccurrenceRequest\032J.google.cloud.binar" + + "yauthorization.v1.ValidateAttestationOcc" + + "urrenceResponse\"N\202\323\344\223\002H\"C/v1/{attestor=p" + + "rojects/*/attestors/*}:validateAttestati" + + "onOccurrence:\001*\032V\312A\"binaryauthorization." + + "googleapis.com\322A.https://www.googleapis." + + "com/auth/cloud-platformB\214\002\n5com.google.p" + + "rotos.google.cloud.binaryauthorization.v" + + "1P\000ZYcloud.google.com/go/binaryauthoriza" + + "tion/apiv1/binaryauthorizationpb;binarya" + + "uthorizationpb\370\001\001\252\002#Google.Cloud.BinaryA" + + "uthorization.V1\312\002#Google\\Cloud\\BinaryAut" + + "horization\\V1\352\002&Google::Cloud::BinaryAut" + + "horization::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.ResourceProto.getDescriptor(), - com.google.protos.google.cloud.binaryauthorization.v1.Resources.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - io.grafeas.v1.Attestation.getDescriptor(), - }); + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protos.google.cloud.binaryauthorization.v1.Resources.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + io.grafeas.v1.Attestation.getDescriptor(), + }); internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor, - new java.lang.String[] { - "Policy", - }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor, + new java.lang.String[] { "Policy", }); internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor, - new java.lang.String[] { - "Parent", "AttestorId", "Attestor", - }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor, + new java.lang.String[] { "Parent", "AttestorId", "Attestor", }); internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor, - new java.lang.String[] { - "Attestor", - }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor, + new java.lang.String[] { "Attestor", }); internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor, - new java.lang.String[] { - "Attestors", "NextPageToken", - }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor, + new java.lang.String[] { "Attestors", "NextPageToken", }); internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor, - new java.lang.String[] { - "Name", - }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor, + new java.lang.String[] { "Name", }); internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor, - new java.lang.String[] { - "Attestor", "Attestation", "OccurrenceNote", "OccurrenceResourceUri", - }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor, + new java.lang.String[] { "Attestor", "Attestation", "OccurrenceNote", "OccurrenceResourceUri", }); internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor, - new java.lang.String[] { - "Result", "DenialReason", - }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor, + new java.lang.String[] { "Result", "DenialReason", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -11084,8 +9343,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 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.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto rename to owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto b/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto rename to owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java rename to owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java index 14371b49b3f4..9eb5e8b09886 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java @@ -28,6 +28,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.binaryauthorization.v1beta1.stub.BinauthzManagementServiceV1Beta1StubSettings; diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java index 8c26c11cb36a..2ee72db79b63 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java @@ -25,6 +25,7 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.binaryauthorization.v1beta1.stub.SystemPolicyV1Beta1StubSettings; diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java index ac5a50814135..d3bb82355e52 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java @@ -41,6 +41,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/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java index 30c4729a34e9..c7d0e94af329 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java @@ -30,6 +30,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/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json similarity index 99% rename from java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json index 5987de56d56b..9e0c7e43acbb 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json +++ b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json @@ -593,6 +593,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent$ContinuousValidationPodEvent$ImageDetails$ContainerType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent$ContinuousValidationPodEvent$PolicyConformanceVerdict", "queryAllDeclaredConstructors": true, diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java b/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java similarity index 100% rename from java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java b/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java similarity index 51% rename from java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java rename to owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java index 210dbd6388a8..3f8fa0229ee6 100644 --- a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.binaryauthorization.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * Google Cloud Management Service for Binary Authorization admission policies
  * and attestation authorities.
@@ -36,367 +19,237 @@ public final class BinauthzManagementServiceV1Beta1Grpc {
 
   private BinauthzManagementServiceV1Beta1Grpc() {}
 
-  public static final java.lang.String SERVICE_NAME =
-      "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1";
+  public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Policy>
-      getGetPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getGetPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetPolicy",
       requestType = com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Policy>
-      getGetPolicyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest,
-            com.google.cloud.binaryauthorization.v1beta1.Policy>
-        getGetPolicyMethod;
+  public static io.grpc.MethodDescriptor getGetPolicyMethod() {
+    io.grpc.MethodDescriptor getGetPolicyMethod;
     if ((getGetPolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getGetPolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod)
-            == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod =
-              getGetPolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.Policy
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("GetPolicy"))
-                      .build();
+        if ((getGetPolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod) == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod = getGetPolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("GetPolicy"))
+              .build();
         }
       }
     }
     return getGetPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Policy>
-      getUpdatePolicyMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdatePolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy",
       requestType = com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Policy>
-      getUpdatePolicyMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest,
-            com.google.cloud.binaryauthorization.v1beta1.Policy>
-        getUpdatePolicyMethod;
-    if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getUpdatePolicyMethod() {
+    io.grpc.MethodDescriptor getUpdatePolicyMethod;
+    if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod)
-            == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod =
-              getUpdatePolicyMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.Policy
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
-                              "UpdatePolicy"))
-                      .build();
+        if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod) == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod = getUpdatePolicyMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()))
+              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("UpdatePolicy"))
+              .build();
         }
       }
     }
     return getUpdatePolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Attestor>
-      getCreateAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Attestor>
-      getCreateAttestorMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest,
-            com.google.cloud.binaryauthorization.v1beta1.Attestor>
-        getCreateAttestorMethod;
-    if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getCreateAttestorMethod() {
+    io.grpc.MethodDescriptor getCreateAttestorMethod;
+    if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod)
-            == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod =
-              getCreateAttestorMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.Attestor
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
-                              "CreateAttestor"))
-                      .build();
+        if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod) == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod = getCreateAttestorMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()))
+              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("CreateAttestor"))
+              .build();
         }
       }
     }
     return getCreateAttestorMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Attestor>
-      getGetAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor getGetAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Attestor>
-      getGetAttestorMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest,
-            com.google.cloud.binaryauthorization.v1beta1.Attestor>
-        getGetAttestorMethod;
-    if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getGetAttestorMethod() {
+    io.grpc.MethodDescriptor getGetAttestorMethod;
+    if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod)
-            == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod =
-              getGetAttestorMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.Attestor
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
-                              "GetAttestor"))
-                      .build();
+        if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod) == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod = getGetAttestorMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()))
+              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("GetAttestor"))
+              .build();
         }
       }
     }
     return getGetAttestorMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Attestor>
-      getUpdateAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor getUpdateAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest,
-          com.google.cloud.binaryauthorization.v1beta1.Attestor>
-      getUpdateAttestorMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest,
-            com.google.cloud.binaryauthorization.v1beta1.Attestor>
-        getUpdateAttestorMethod;
-    if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getUpdateAttestorMethod() {
+    io.grpc.MethodDescriptor getUpdateAttestorMethod;
+    if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod)
-            == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod =
-              getUpdateAttestorMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.Attestor
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
-                              "UpdateAttestor"))
-                      .build();
+        if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod) == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod = getUpdateAttestorMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()))
+              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("UpdateAttestor"))
+              .build();
         }
       }
     }
     return getUpdateAttestorMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest,
-          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>
-      getListAttestorsMethod;
+  private static volatile io.grpc.MethodDescriptor getListAttestorsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListAttestors",
       requestType = com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest,
-          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>
-      getListAttestorsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest,
-            com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>
-        getListAttestorsMethod;
-    if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getListAttestorsMethod() {
+    io.grpc.MethodDescriptor getListAttestorsMethod;
+    if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod)
-            == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod =
-              getListAttestorsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
-                              "ListAttestors"))
-                      .build();
+        if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod) == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod = getListAttestorsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("ListAttestors"))
+              .build();
         }
       }
     }
     return getListAttestorsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest,
-          com.google.protobuf.Empty>
-      getDeleteAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest,
-          com.google.protobuf.Empty>
-      getDeleteAttestorMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest,
-            com.google.protobuf.Empty>
-        getDeleteAttestorMethod;
-    if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod)
-        == null) {
+  public static io.grpc.MethodDescriptor getDeleteAttestorMethod() {
+    io.grpc.MethodDescriptor getDeleteAttestorMethod;
+    if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod)
-            == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod =
-              getDeleteAttestorMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
-                              "DeleteAttestor"))
-                      .build();
+        if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod) == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod = getDeleteAttestorMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("DeleteAttestor"))
+              .build();
         }
       }
     }
     return getDeleteAttestorMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static BinauthzManagementServiceV1Beta1Stub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BinauthzManagementServiceV1Beta1Stub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BinauthzManagementServiceV1Beta1Stub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BinauthzManagementServiceV1Beta1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BinauthzManagementServiceV1Beta1Stub(channel, callOptions);
+        }
+      };
     return BinauthzManagementServiceV1Beta1Stub.newStub(factory, channel);
   }
 
@@ -406,32 +259,31 @@ public BinauthzManagementServiceV1Beta1Stub newStub(
   public static BinauthzManagementServiceV1Beta1BlockingStub newBlockingStub(
       io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BinauthzManagementServiceV1Beta1BlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BinauthzManagementServiceV1Beta1BlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BinauthzManagementServiceV1Beta1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BinauthzManagementServiceV1Beta1BlockingStub(channel, callOptions);
+        }
+      };
     return BinauthzManagementServiceV1Beta1BlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static BinauthzManagementServiceV1Beta1FutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static BinauthzManagementServiceV1Beta1FutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public BinauthzManagementServiceV1Beta1FutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new BinauthzManagementServiceV1Beta1FutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public BinauthzManagementServiceV1Beta1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new BinauthzManagementServiceV1Beta1FutureStub(channel, callOptions);
+        }
+      };
     return BinauthzManagementServiceV1Beta1FutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -443,8 +295,6 @@ public BinauthzManagementServiceV1Beta1FutureStub newStub(
   public interface AsyncService {
 
     /**
-     *
-     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -454,16 +304,12 @@ public interface AsyncService {
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - default void getPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); } /** - * - * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -472,17 +318,12 @@ default void getPolicy(
      * if the request is malformed.
      * 
*/ - default void updatePolicy( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdatePolicyMethod(), responseObserver); + default void updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyMethod(), responseObserver); } /** - * - * *
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -490,82 +331,58 @@ default void updatePolicy(
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
      * 
*/ - default void createAttestor( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAttestorMethod(), responseObserver); + default void createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAttestorMethod(), responseObserver); } /** - * - * *
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - default void getAttestor( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAttestorMethod(), responseObserver); + default void getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttestorMethod(), responseObserver); } /** - * - * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - default void updateAttestor( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAttestorMethod(), responseObserver); + default void updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttestorMethod(), responseObserver); } /** - * - * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - default void listAttestors( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAttestorsMethod(), responseObserver); + default void listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAttestorsMethod(), responseObserver); } /** - * - * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - default void deleteAttestor( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, + default void deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAttestorMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAttestorMethod(), responseObserver); } } /** * Base class for the server implementation of the service BinauthzManagementServiceV1Beta1. - * *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -574,19 +391,16 @@ default void deleteAttestor(
    * * [Attestor][google.cloud.binaryauthorization.v1beta1.Attestor]
    * 
*/ - public abstract static class BinauthzManagementServiceV1Beta1ImplBase + public static abstract class BinauthzManagementServiceV1Beta1ImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return BinauthzManagementServiceV1Beta1Grpc.bindService(this); } } /** - * A stub to allow clients to do asynchronous rpc calls to service - * BinauthzManagementServiceV1Beta1. - * + * A stub to allow clients to do asynchronous rpc calls to service BinauthzManagementServiceV1Beta1. *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -609,8 +423,6 @@ protected BinauthzManagementServiceV1Beta1Stub build(
     }
 
     /**
-     *
-     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -620,17 +432,13 @@ protected BinauthzManagementServiceV1Beta1Stub build(
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - public void getPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -639,19 +447,13 @@ public void getPolicy(
      * if the request is malformed.
      * 
*/ - public void updatePolicy( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -659,93 +461,63 @@ public void updatePolicy(
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
      * 
*/ - public void createAttestor( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public void getAttestor( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttestorMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public void updateAttestor( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - public void listAttestors( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse> - responseObserver) { + public void listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAttestorsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public void deleteAttestor( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, + public void deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request, responseObserver); } } /** - * A stub to allow clients to do synchronous rpc calls to service - * BinauthzManagementServiceV1Beta1. - * + * A stub to allow clients to do synchronous rpc calls to service BinauthzManagementServiceV1Beta1. *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -768,8 +540,6 @@ protected BinauthzManagementServiceV1Beta1BlockingStub build(
     }
 
     /**
-     *
-     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -779,15 +549,12 @@ protected BinauthzManagementServiceV1Beta1BlockingStub build(
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetPolicyMethod(), getCallOptions(), request); } /** - * - * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -796,15 +563,12 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy(
      * if the request is malformed.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Policy updatePolicy( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Policy updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); } /** - * - * *
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -812,73 +576,58 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy updatePolicy(
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Attestor createAttestor( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Attestor createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAttestorMethod(), getCallOptions(), request); } /** - * - * *
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAttestorMethod(), getCallOptions(), request); } /** - * - * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Attestor updateAttestor( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Attestor updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAttestorMethod(), getCallOptions(), request); } /** - * - * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse listAttestors( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAttestorsMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.protobuf.Empty deleteAttestor( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { + public com.google.protobuf.Empty deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteAttestorMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * BinauthzManagementServiceV1Beta1. - * + * A stub to allow clients to do ListenableFuture-style rpc calls to service BinauthzManagementServiceV1Beta1. *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -901,8 +650,6 @@ protected BinauthzManagementServiceV1Beta1FutureStub build(
     }
 
     /**
-     *
-     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -912,16 +659,13 @@ protected BinauthzManagementServiceV1Beta1FutureStub build(
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.binaryauthorization.v1beta1.Policy> - getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -930,16 +674,13 @@ protected BinauthzManagementServiceV1Beta1FutureStub build(
      * if the request is malformed.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.binaryauthorization.v1beta1.Policy> - updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture updatePolicy( + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); } /** - * - * *
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -947,68 +688,56 @@ protected BinauthzManagementServiceV1Beta1FutureStub build(
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.binaryauthorization.v1beta1.Attestor> - createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) { + public com.google.common.util.concurrent.ListenableFuture createAttestor( + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request); } /** - * - * *
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.binaryauthorization.v1beta1.Attestor> - getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { + public com.google.common.util.concurrent.ListenableFuture getAttestor( + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request); } /** - * - * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.binaryauthorization.v1beta1.Attestor> - updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { + public com.google.common.util.concurrent.ListenableFuture updateAttestor( + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request); } /** - * - * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse> - listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listAttestors( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteAttestor( + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request); } @@ -1022,11 +751,11 @@ protected BinauthzManagementServiceV1Beta1FutureStub build( private static final int METHODID_LIST_ATTESTORS = 5; private static final int METHODID_DELETE_ATTESTOR = 6; - 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 static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -1040,45 +769,31 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET_POLICY: - serviceImpl.getPolicy( - (com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getPolicy((com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_POLICY: - serviceImpl.updatePolicy( - (com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.updatePolicy((com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_ATTESTOR: - serviceImpl.createAttestor( - (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createAttestor((com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_ATTESTOR: - serviceImpl.getAttestor( - (com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getAttestor((com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ATTESTOR: - serviceImpl.updateAttestor( - (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.updateAttestor((com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_ATTESTORS: - serviceImpl.listAttestors( - (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>) - responseObserver); + serviceImpl.listAttestors((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_ATTESTOR: - serviceImpl.deleteAttestor( - (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) request, + serviceImpl.deleteAttestor((com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -1100,65 +815,64 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy>( - service, METHODID_GET_POLICY))) + getGetPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy>( + service, METHODID_GET_POLICY))) .addMethod( - getUpdatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy>( - service, METHODID_UPDATE_POLICY))) + getUpdatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy>( + service, METHODID_UPDATE_POLICY))) .addMethod( - getCreateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest, - com.google.cloud.binaryauthorization.v1beta1.Attestor>( - service, METHODID_CREATE_ATTESTOR))) + getCreateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest, + com.google.cloud.binaryauthorization.v1beta1.Attestor>( + service, METHODID_CREATE_ATTESTOR))) .addMethod( - getGetAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest, - com.google.cloud.binaryauthorization.v1beta1.Attestor>( - service, METHODID_GET_ATTESTOR))) + getGetAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest, + com.google.cloud.binaryauthorization.v1beta1.Attestor>( + service, METHODID_GET_ATTESTOR))) .addMethod( - getUpdateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest, - com.google.cloud.binaryauthorization.v1beta1.Attestor>( - service, METHODID_UPDATE_ATTESTOR))) + getUpdateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest, + com.google.cloud.binaryauthorization.v1beta1.Attestor>( + service, METHODID_UPDATE_ATTESTOR))) .addMethod( - getListAttestorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest, - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>( - service, METHODID_LIST_ATTESTORS))) + getListAttestorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest, + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>( + service, METHODID_LIST_ATTESTORS))) .addMethod( - getDeleteAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_ATTESTOR))) + getDeleteAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_ATTESTOR))) .build(); } - private abstract static class BinauthzManagementServiceV1Beta1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class BinauthzManagementServiceV1Beta1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { BinauthzManagementServiceV1Beta1BaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .getDescriptor(); + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.getDescriptor(); } @java.lang.Override @@ -1195,19 +909,16 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (BinauthzManagementServiceV1Beta1Grpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor( - new BinauthzManagementServiceV1Beta1FileDescriptorSupplier()) - .addMethod(getGetPolicyMethod()) - .addMethod(getUpdatePolicyMethod()) - .addMethod(getCreateAttestorMethod()) - .addMethod(getGetAttestorMethod()) - .addMethod(getUpdateAttestorMethod()) - .addMethod(getListAttestorsMethod()) - .addMethod(getDeleteAttestorMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1FileDescriptorSupplier()) + .addMethod(getGetPolicyMethod()) + .addMethod(getUpdatePolicyMethod()) + .addMethod(getCreateAttestorMethod()) + .addMethod(getGetAttestorMethod()) + .addMethod(getUpdateAttestorMethod()) + .addMethod(getListAttestorsMethod()) + .addMethod(getDeleteAttestorMethod()) + .build(); } } } diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java b/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java similarity index 55% rename from java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java rename to owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java index ea6149aa8930..88138909c54d 100644 --- a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.binaryauthorization.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *
  * API for working with the system policy.
  * 
@@ -32,101 +15,85 @@ public final class SystemPolicyV1Beta1Grpc { private SystemPolicyV1Beta1Grpc() {} - public static final java.lang.String SERVICE_NAME = - "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1"; + public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy> - getGetSystemPolicyMethod; + private static volatile io.grpc.MethodDescriptor getGetSystemPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetSystemPolicy", requestType = com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, responseType = com.google.cloud.binaryauthorization.v1beta1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy> - getGetSystemPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy> - getGetSystemPolicyMethod; + public static io.grpc.MethodDescriptor getGetSystemPolicyMethod() { + io.grpc.MethodDescriptor getGetSystemPolicyMethod; if ((getGetSystemPolicyMethod = SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod) == null) { synchronized (SystemPolicyV1Beta1Grpc.class) { if ((getGetSystemPolicyMethod = SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod) == null) { - SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod = - getGetSystemPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.binaryauthorization.v1beta1.Policy - .getDefaultInstance())) - .setSchemaDescriptor( - new SystemPolicyV1Beta1MethodDescriptorSupplier("GetSystemPolicy")) - .build(); + SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod = getGetSystemPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new SystemPolicyV1Beta1MethodDescriptorSupplier("GetSystemPolicy")) + .build(); } } } return getGetSystemPolicyMethod; } - /** Creates a new async stub that supports all call types for the service */ + /** + * Creates a new async stub that supports all call types for the service + */ public static SystemPolicyV1Beta1Stub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Beta1Stub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Beta1Stub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Beta1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Beta1Stub(channel, callOptions); + } + }; return SystemPolicyV1Beta1Stub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static SystemPolicyV1Beta1BlockingStub newBlockingStub(io.grpc.Channel channel) { + public static SystemPolicyV1Beta1BlockingStub newBlockingStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Beta1BlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Beta1BlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Beta1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Beta1BlockingStub(channel, callOptions); + } + }; return SystemPolicyV1Beta1BlockingStub.newStub(factory, channel); } - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static SystemPolicyV1Beta1FutureStub newFutureStub(io.grpc.Channel channel) { + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static SystemPolicyV1Beta1FutureStub newFutureStub( + io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Beta1FutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Beta1FutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Beta1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Beta1FutureStub(channel, callOptions); + } + }; return SystemPolicyV1Beta1FutureStub.newStub(factory, channel); } /** - * - * *
    * API for working with the system policy.
    * 
@@ -134,47 +101,40 @@ public SystemPolicyV1Beta1FutureStub newStub( public interface AsyncService { /** - * - * *
      * Gets the current system policy in the specified location.
      * 
*/ - default void getSystemPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetSystemPolicyMethod(), responseObserver); + default void getSystemPolicy(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSystemPolicyMethod(), responseObserver); } } /** * Base class for the server implementation of the service SystemPolicyV1Beta1. - * *
    * API for working with the system policy.
    * 
*/ - public abstract static class SystemPolicyV1Beta1ImplBase + public static abstract class SystemPolicyV1Beta1ImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return SystemPolicyV1Beta1Grpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1Beta1. - * *
    * API for working with the system policy.
    * 
*/ public static final class SystemPolicyV1Beta1Stub extends io.grpc.stub.AbstractAsyncStub { - private SystemPolicyV1Beta1Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private SystemPolicyV1Beta1Stub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -185,26 +145,19 @@ protected SystemPolicyV1Beta1Stub build( } /** - * - * *
      * Gets the current system policy in the specified location.
      * 
*/ - public void getSystemPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getSystemPolicy(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1Beta1. - * *
    * API for working with the system policy.
    * 
@@ -223,14 +176,11 @@ protected SystemPolicyV1Beta1BlockingStub build( } /** - * - * *
      * Gets the current system policy in the specified location.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Policy getSystemPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Policy getSystemPolicy(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSystemPolicyMethod(), getCallOptions(), request); } @@ -238,7 +188,6 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy getSystemPolicy( /** * A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1Beta1. - * *
    * API for working with the system policy.
    * 
@@ -257,16 +206,12 @@ protected SystemPolicyV1Beta1FutureStub build( } /** - * - * *
      * Gets the current system policy in the specified location.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.binaryauthorization.v1beta1.Policy> - getSystemPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture getSystemPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request); } @@ -274,11 +219,11 @@ protected SystemPolicyV1Beta1FutureStub build( private static final int METHODID_GET_SYSTEM_POLICY = 0; - 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 static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -292,10 +237,8 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET_SYSTEM_POLICY: - serviceImpl.getSystemPolicy( - (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getSystemPolicy((com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -316,24 +259,22 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetSystemPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy>( - service, METHODID_GET_SYSTEM_POLICY))) + getGetSystemPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy>( + service, METHODID_GET_SYSTEM_POLICY))) .build(); } - private abstract static class SystemPolicyV1Beta1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class SystemPolicyV1Beta1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { SystemPolicyV1Beta1BaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .getDescriptor(); + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.getDescriptor(); } @java.lang.Override @@ -370,12 +311,10 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (SystemPolicyV1Beta1Grpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SystemPolicyV1Beta1FileDescriptorSupplier()) - .addMethod(getGetSystemPolicyMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new SystemPolicyV1Beta1FileDescriptorSupplier()) + .addMethod(getGetSystemPolicyMethod()) + .build(); } } } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java similarity index 68% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java index d845448cfbf4..96b202c5c99b 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * An [admission rule][google.cloud.binaryauthorization.v1beta1.AdmissionRule] specifies either that all container images
  * used in a pod creation request must be attested to by one or more
@@ -33,48 +16,48 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule}
  */
-public final class AdmissionRule extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AdmissionRule extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.AdmissionRule)
     AdmissionRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AdmissionRule.newBuilder() to construct.
   private AdmissionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AdmissionRule() {
     evaluationMode_ = 0;
-    requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    requireAttestationsBy_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     enforcementMode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AdmissionRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class,
-            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
   }
 
-  /** Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode} */
-  public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
+  /**
+   * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode}
+   */
+  public enum EvaluationMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Do not use.
      * 
@@ -83,8 +66,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ EVALUATION_MODE_UNSPECIFIED(0), /** - * - * *
      * This rule allows all all pod creations.
      * 
@@ -93,8 +74,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ ALWAYS_ALLOW(1), /** - * - * *
      * This rule allows a pod creation if all the attestors listed in
      * `require_attestations_by` have valid attestations for all of the
@@ -105,8 +84,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     REQUIRE_ATTESTATION(2),
     /**
-     *
-     *
      * 
      * This rule denies all pod creations.
      * 
@@ -118,8 +95,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Do not use.
      * 
@@ -128,8 +103,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This rule allows all all pod creations.
      * 
@@ -138,8 +111,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALWAYS_ALLOW_VALUE = 1; /** - * - * *
      * This rule allows a pod creation if all the attestors listed in
      * `require_attestations_by` have valid attestations for all of the
@@ -150,8 +121,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REQUIRE_ATTESTATION_VALUE = 2;
     /**
-     *
-     *
      * 
      * This rule denies all pod creations.
      * 
@@ -160,6 +129,7 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALWAYS_DENY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,53 +154,50 @@ public static EvaluationMode valueOf(int value) { */ public static EvaluationMode forNumber(int value) { switch (value) { - case 0: - return EVALUATION_MODE_UNSPECIFIED; - case 1: - return ALWAYS_ALLOW; - case 2: - return REQUIRE_ATTESTATION; - case 3: - return ALWAYS_DENY; - default: - return null; + case 0: return EVALUATION_MODE_UNSPECIFIED; + case 1: return ALWAYS_ALLOW; + case 2: return REQUIRE_ATTESTATION; + case 3: return ALWAYS_DENY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EvaluationMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EvaluationMode findValueByNumber(int number) { + return EvaluationMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EvaluationMode findValueByNumber(int number) { - return EvaluationMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor().getEnumTypes().get(0); } private static final EvaluationMode[] VALUES = values(); - public static EvaluationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EvaluationMode 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; @@ -248,8 +215,6 @@ private EvaluationMode(int value) { } /** - * - * *
    * Defines the possible actions when a pod creation is denied by an admission
    * rule.
@@ -257,10 +222,9 @@ private EvaluationMode(int value) {
    *
    * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode}
    */
-  public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum EnforcementMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Do not use.
      * 
@@ -269,8 +233,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ ENFORCEMENT_MODE_UNSPECIFIED(0), /** - * - * *
      * Enforce the admission rule by blocking the pod creation.
      * 
@@ -279,8 +241,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ ENFORCED_BLOCK_AND_AUDIT_LOG(1), /** - * - * *
      * Dryrun mode: Audit logging only.  This will allow the pod creation as if
      * the admission request had specified break-glass.
@@ -293,8 +253,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Do not use.
      * 
@@ -303,8 +261,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENFORCEMENT_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Enforce the admission rule by blocking the pod creation.
      * 
@@ -313,8 +269,6 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENFORCED_BLOCK_AND_AUDIT_LOG_VALUE = 1; /** - * - * *
      * Dryrun mode: Audit logging only.  This will allow the pod creation as if
      * the admission request had specified break-glass.
@@ -324,6 +278,7 @@ public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DRYRUN_AUDIT_LOG_ONLY_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -348,45 +303,40 @@ public static EnforcementMode valueOf(int value) {
      */
     public static EnforcementMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENFORCEMENT_MODE_UNSPECIFIED;
-        case 1:
-          return ENFORCED_BLOCK_AND_AUDIT_LOG;
-        case 2:
-          return DRYRUN_AUDIT_LOG_ONLY;
-        default:
-          return null;
+        case 0: return ENFORCEMENT_MODE_UNSPECIFIED;
+        case 1: return ENFORCED_BLOCK_AND_AUDIT_LOG;
+        case 2: return DRYRUN_AUDIT_LOG_ONLY;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EnforcementMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EnforcementMode findValueByNumber(int number) {
+              return EnforcementMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public EnforcementMode findValueByNumber(int number) {
-                return EnforcementMode.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final EnforcementMode[] VALUES = values();
@@ -394,7 +344,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static EnforcementMode 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;
@@ -414,54 +365,34 @@ private EnforcementMode(int value) {
   public static final int EVALUATION_MODE_FIELD_NUMBER = 1;
   private int evaluationMode_ = 0;
   /**
-   *
-   *
    * 
    * Required. How this admission rule will be evaluated.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
    * Required. How this admission rule will be evaluated.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The evaluationMode. */ - @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode - getEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber( - evaluationMode_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode getEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; } public static final int REQUIRE_ATTESTATIONS_BY_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -473,17 +404,14 @@ public int getEvaluationModeValue() {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList + getRequireAttestationsByList() { return requireAttestationsBy_; } /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -495,17 +423,13 @@ public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -517,9 +441,7 @@ public int getRequireAttestationsByCount() {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -527,8 +449,6 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -540,61 +460,42 @@ public java.lang.String getRequireAttestationsBy(int index) {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString + getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } public static final int ENFORCEMENT_MODE_FIELD_NUMBER = 3; private int enforcementMode_ = 0; /** - * - * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override - public int getEnforcementModeValue() { + @java.lang.Override public int getEnforcementModeValue() { return enforcementMode_; } /** - * - * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enforcementMode. */ - @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode - getEnforcementMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber( - enforcementMode_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode getEnforcementMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -606,21 +507,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (evaluationMode_ - != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode - .EVALUATION_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (evaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, evaluationMode_); } for (int i = 0; i < requireAttestationsBy_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, requireAttestationsBy_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requireAttestationsBy_.getRaw(i)); } - if (enforcementMode_ - != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode - .ENFORCEMENT_MODE_UNSPECIFIED - .getNumber()) { + if (enforcementMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(3, enforcementMode_); } getUnknownFields().writeTo(output); @@ -632,11 +527,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (evaluationMode_ - != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode - .EVALUATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, evaluationMode_); + if (evaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, evaluationMode_); } { int dataSize = 0; @@ -646,11 +539,9 @@ public int getSerializedSize() { size += dataSize; size += 1 * getRequireAttestationsByList().size(); } - if (enforcementMode_ - != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode - .ENFORCEMENT_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, enforcementMode_); + if (enforcementMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, enforcementMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -660,16 +551,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.binaryauthorization.v1beta1.AdmissionRule)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule other = - (com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) obj; + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule other = (com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) obj; if (evaluationMode_ != other.evaluationMode_) return false; - if (!getRequireAttestationsByList().equals(other.getRequireAttestationsByList())) return false; + if (!getRequireAttestationsByList() + .equals(other.getRequireAttestationsByList())) return false; if (enforcementMode_ != other.enforcementMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -696,104 +587,98 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [admission rule][google.cloud.binaryauthorization.v1beta1.AdmissionRule] specifies either that all container images
    * used in a pod creation request must be attested to by one or more
@@ -806,46 +691,48 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.AdmissionRule)
       com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class,
-              com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       evaluationMode_ = 0;
-      requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      requireAttestationsBy_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       enforcementMode_ = 0;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
     }
 
     @java.lang.Override
@@ -864,11 +751,8 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.AdmissionRule result =
-          new com.google.cloud.binaryauthorization.v1beta1.AdmissionRule(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.binaryauthorization.v1beta1.AdmissionRule result = new com.google.cloud.binaryauthorization.v1beta1.AdmissionRule(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -891,39 +775,38 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Admissio
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AdmissionRule)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -931,8 +814,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()) return this;
       if (other.evaluationMode_ != 0) {
         setEvaluationModeValue(other.getEvaluationModeValue());
       }
@@ -975,32 +857,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                evaluationMode_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureRequireAttestationsByIsMutable();
-                requireAttestationsBy_.add(s);
-                break;
-              } // case 18
-            case 24:
-              {
-                enforcementMode_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              evaluationMode_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureRequireAttestationsByIsMutable();
+              requireAttestationsBy_.add(s);
+              break;
+            } // case 18
+            case 24: {
+              enforcementMode_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1010,38 +888,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int evaluationMode_ = 0;
     /**
-     *
-     *
      * 
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ @@ -1052,44 +918,28 @@ public Builder setEvaluationModeValue(int value) { return this; } /** - * - * *
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The evaluationMode. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode - getEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber( - evaluationMode_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED - : result; + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode getEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; } /** - * - * *
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode( - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode value) { + public Builder setEvaluationMode(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } @@ -1099,16 +949,11 @@ public Builder setEvaluationMode( return this; } /** - * - * *
      * Required. How this admission rule will be evaluated.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEvaluationMode() { @@ -1120,17 +965,13 @@ public Builder clearEvaluationMode() { private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureRequireAttestationsByIsMutable() { if (!requireAttestationsBy_.isModifiable()) { - requireAttestationsBy_ = - new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); + requireAttestationsBy_ = new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); } bitField0_ |= 0x00000002; } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1142,18 +983,15 @@ private void ensureRequireAttestationsByIsMutable() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList + getRequireAttestationsByList() { requireAttestationsBy_.makeImmutable(); return requireAttestationsBy_; } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1165,17 +1003,13 @@ public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1187,9 +1021,7 @@ public int getRequireAttestationsByCount() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -1197,8 +1029,6 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1210,18 +1040,15 @@ public java.lang.String getRequireAttestationsBy(int index) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString + getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1233,17 +1060,14 @@ public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index to set the value at. * @param value The requireAttestationsBy to set. * @return This builder for chaining. */ - public Builder setRequireAttestationsBy(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRequireAttestationsBy( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.set(index, value); bitField0_ |= 0x00000002; @@ -1251,8 +1075,6 @@ public Builder setRequireAttestationsBy(int index, java.lang.String value) { return this; } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1264,16 +1086,13 @@ public Builder setRequireAttestationsBy(int index, java.lang.String value) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRequireAttestationsBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); bitField0_ |= 0x00000002; @@ -1281,8 +1100,6 @@ public Builder addRequireAttestationsBy(java.lang.String value) { return this; } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1294,22 +1111,20 @@ public Builder addRequireAttestationsBy(java.lang.String value) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param values The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addAllRequireAttestationsBy(java.lang.Iterable values) { + public Builder addAllRequireAttestationsBy( + java.lang.Iterable values) { ensureRequireAttestationsByIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requireAttestationsBy_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, requireAttestationsBy_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1321,21 +1136,17 @@ public Builder addAllRequireAttestationsBy(java.lang.Iterable
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearRequireAttestationsBy() { - requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + requireAttestationsBy_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1347,16 +1158,13 @@ public Builder clearRequireAttestationsBy() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The bytes of the requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addRequireAttestationsByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); @@ -1367,33 +1175,22 @@ public Builder addRequireAttestationsByBytes(com.google.protobuf.ByteString valu private int enforcementMode_ = 0; /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override - public int getEnforcementModeValue() { + @java.lang.Override public int getEnforcementModeValue() { return enforcementMode_; } /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for enforcementMode to set. * @return This builder for chaining. */ @@ -1404,44 +1201,28 @@ public Builder setEnforcementModeValue(int value) { return this; } /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enforcementMode. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode - getEnforcementMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber( - enforcementMode_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED - : result; + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode getEnforcementMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; } /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The enforcementMode to set. * @return This builder for chaining. */ - public Builder setEnforcementMode( - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode value) { + public Builder setEnforcementMode(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode value) { if (value == null) { throw new NullPointerException(); } @@ -1451,16 +1232,11 @@ public Builder setEnforcementMode( return this; } /** - * - * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearEnforcementMode() { @@ -1469,9 +1245,9 @@ public Builder clearEnforcementMode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1481,12 +1257,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.AdmissionRule) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.AdmissionRule) private static final com.google.cloud.binaryauthorization.v1beta1.AdmissionRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.AdmissionRule(); } @@ -1495,27 +1271,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1530,4 +1306,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java similarity index 69% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java index 9aed79a7732e..18c39d501cb1 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java @@ -1,60 +1,32 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface AdmissionRuleOrBuilder - extends +public interface AdmissionRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.AdmissionRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. How this admission rule will be evaluated.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** - * - * *
    * Required. How this admission rule will be evaluated.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The evaluationMode. */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode getEvaluationMode(); /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -66,15 +38,12 @@ public interface AdmissionRuleOrBuilder
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return A list containing the requireAttestationsBy. */ - java.util.List getRequireAttestationsByList(); + java.util.List + getRequireAttestationsByList(); /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -86,15 +55,11 @@ public interface AdmissionRuleOrBuilder
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The count of requireAttestationsBy. */ int getRequireAttestationsByCount(); /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -106,16 +71,12 @@ public interface AdmissionRuleOrBuilder
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ java.lang.String getRequireAttestationsBy(int index); /** - * - * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -127,39 +88,28 @@ public interface AdmissionRuleOrBuilder
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - com.google.protobuf.ByteString getRequireAttestationsByBytes(int index); + com.google.protobuf.ByteString + getRequireAttestationsByBytes(int index); /** - * - * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for enforcementMode. */ int getEnforcementModeValue(); /** - * - * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The enforcementMode. */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode getEnforcementMode(); diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java similarity index 66% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java index af3db8fddadb..4823d2c8c76b 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * An [admission allowlist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images
  * from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern}
  */
-public final class AdmissionWhitelistPattern extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AdmissionWhitelistPattern extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern)
     AdmissionWhitelistPatternOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AdmissionWhitelistPattern.newBuilder() to construct.
   private AdmissionWhitelistPattern(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AdmissionWhitelistPattern() {
     namePattern_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AdmissionWhitelistPattern();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class,
-            com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
   }
 
   public static final int NAME_PATTERN_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object namePattern_ = "";
   /**
-   *
-   *
    * 
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name_pattern = 1; - * * @return The namePattern. */ @java.lang.Override @@ -90,15 +67,14 @@ public java.lang.String getNamePattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; } } /** - * - * *
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -110,15 +86,16 @@ public java.lang.String getNamePattern() {
    * 
* * string name_pattern = 1; - * * @return The bytes for namePattern. */ @java.lang.Override - public com.google.protobuf.ByteString getNamePatternBytes() { + public com.google.protobuf.ByteString + getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namePattern_ = b; return b; } else { @@ -127,7 +104,6 @@ public com.google.protobuf.ByteString getNamePatternBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +115,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namePattern_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namePattern_); } @@ -163,15 +140,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.binaryauthorization.v1beta1.AdmissionWhitelistPattern)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other = - (com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) obj; + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other = (com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) obj; - if (!getNamePattern().equals(other.getNamePattern())) return false; + if (!getNamePattern() + .equals(other.getNamePattern())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,105 +168,98 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [admission allowlist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images
    * from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule].
@@ -297,33 +267,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern)
       com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class,
-              com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -333,22 +303,19 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
-        getDefaultInstanceForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
-          .getDefaultInstance();
+    public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getDefaultInstanceForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern build() {
-      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result =
-          buildPartial();
+      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result = buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -357,17 +324,13 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern bu
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result =
-          new com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result = new com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result) {
+    private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.namePattern_ = namePattern_;
@@ -378,51 +341,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) {
-        return mergeFrom(
-            (com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other) {
-      if (other
-          == com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other) {
+      if (other == com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance()) return this;
       if (!other.getNamePattern().isEmpty()) {
         namePattern_ = other.namePattern_;
         bitField0_ |= 0x00000001;
@@ -454,19 +412,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                namePattern_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              namePattern_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -476,13 +432,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object namePattern_ = "";
     /**
-     *
-     *
      * 
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -494,13 +447,13 @@ public Builder mergeFrom(
      * 
* * string name_pattern = 1; - * * @return The namePattern. */ public java.lang.String getNamePattern() { java.lang.Object ref = namePattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; @@ -509,8 +462,6 @@ public java.lang.String getNamePattern() { } } /** - * - * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -522,14 +473,15 @@ public java.lang.String getNamePattern() {
      * 
* * string name_pattern = 1; - * * @return The bytes for namePattern. */ - public com.google.protobuf.ByteString getNamePatternBytes() { + public com.google.protobuf.ByteString + getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namePattern_ = b; return b; } else { @@ -537,8 +489,6 @@ public com.google.protobuf.ByteString getNamePatternBytes() { } } /** - * - * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -550,22 +500,18 @@ public com.google.protobuf.ByteString getNamePatternBytes() {
      * 
* * string name_pattern = 1; - * * @param value The namePattern to set. * @return This builder for chaining. */ - public Builder setNamePattern(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNamePattern( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -577,7 +523,6 @@ public Builder setNamePattern(java.lang.String value) {
      * 
* * string name_pattern = 1; - * * @return This builder for chaining. */ public Builder clearNamePattern() { @@ -587,8 +532,6 @@ public Builder clearNamePattern() { return this; } /** - * - * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -600,23 +543,21 @@ public Builder clearNamePattern() {
      * 
* * string name_pattern = 1; - * * @param value The bytes for namePattern to set. * @return This builder for chaining. */ - public Builder setNamePatternBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNamePatternBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -626,43 +567,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) - private static final com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern(); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionWhitelistPattern parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionWhitelistPattern parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -674,8 +613,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java similarity index 67% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java index 715c4ef23c7b..9a40e1f22e19 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface AdmissionWhitelistPatternOrBuilder - extends +public interface AdmissionWhitelistPatternOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -37,13 +19,10 @@ public interface AdmissionWhitelistPatternOrBuilder
    * 
* * string name_pattern = 1; - * * @return The namePattern. */ java.lang.String getNamePattern(); /** - * - * *
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -55,8 +34,8 @@ public interface AdmissionWhitelistPatternOrBuilder
    * 
* * string name_pattern = 1; - * * @return The bytes for namePattern. */ - com.google.protobuf.ByteString getNamePatternBytes(); + com.google.protobuf.ByteString + getNamePatternBytes(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java similarity index 65% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java index a21739bce68b..bd5e0a1a1dea 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
  * artifacts. An existing attestor cannot be modified except where
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Attestor}
  */
-public final class Attestor extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Attestor extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.Attestor)
     AttestorOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Attestor.newBuilder() to construct.
   private Attestor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Attestor() {
     name_ = "";
     description_ = "";
@@ -46,38 +28,33 @@ private Attestor() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Attestor();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
-            com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.Attestor.class, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
   }
 
   private int attestorTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object attestorType_;
-
   public enum AttestorTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     USER_OWNED_DRYDOCK_NOTE(3),
     ATTESTORTYPE_NOT_SET(0);
     private final int value;
-
     private AttestorTypeCase(int value) {
       this.value = value;
     }
@@ -93,38 +70,32 @@ public static AttestorTypeCase valueOf(int value) {
 
     public static AttestorTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return USER_OWNED_DRYDOCK_NOTE;
-        case 0:
-          return ATTESTORTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return USER_OWNED_DRYDOCK_NOTE;
+        case 0: return ATTESTORTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AttestorTypeCase getAttestorTypeCase() {
-    return AttestorTypeCase.forNumber(attestorTypeCase_);
+  public AttestorTypeCase
+  getAttestorTypeCase() {
+    return AttestorTypeCase.forNumber(
+        attestorTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -133,30 +104,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 resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,19 +136,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -186,30 +153,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -219,16 +186,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int USER_OWNED_DRYDOCK_NOTE_FIELD_NUMBER = 3; /** - * - * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; * @return Whether the userOwnedDrydockNote field is set. */ @java.lang.Override @@ -236,42 +198,31 @@ public boolean hasUserOwnedDrydockNote() { return attestorTypeCase_ == 3; } /** - * - * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; * @return The userOwnedDrydockNote. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - getUserOwnedDrydockNote() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getUserOwnedDrydockNote() { if (attestorTypeCase_ == 3) { - return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; + return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } /** - * - * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder - getUserOwnedDrydockNoteOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder getUserOwnedDrydockNoteOrBuilder() { if (attestorTypeCase_ == 3) { - return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; + return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } @@ -279,15 +230,11 @@ public boolean hasUserOwnedDrydockNote() { public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -295,15 +242,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -311,14 +254,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -326,7 +266,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,13 +277,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (attestorTypeCase_ == 3) { - output.writeMessage( - 3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); + output.writeMessage(3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); } if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); @@ -365,12 +304,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (attestorTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -383,24 +322,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.binaryauthorization.v1beta1.Attestor)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.Attestor other = - (com.google.cloud.binaryauthorization.v1beta1.Attestor) obj; + com.google.cloud.binaryauthorization.v1beta1.Attestor other = (com.google.cloud.binaryauthorization.v1beta1.Attestor) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (!getAttestorTypeCase().equals(other.getAttestorTypeCase())) return false; switch (attestorTypeCase_) { case 3: - if (!getUserOwnedDrydockNote().equals(other.getUserOwnedDrydockNote())) return false; + if (!getUserOwnedDrydockNote() + .equals(other.getUserOwnedDrydockNote())) return false; break; case 0: default: @@ -438,104 +380,98 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.Attestor prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.Attestor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
    * artifacts. An existing attestor cannot be modified except where
@@ -544,32 +480,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Attestor}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.Attestor)
       com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
-              com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.Attestor.class, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.Attestor.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -590,9 +527,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
     }
 
     @java.lang.Override
@@ -611,11 +548,8 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.Attestor buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.Attestor result =
-          new com.google.cloud.binaryauthorization.v1beta1.Attestor(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.binaryauthorization.v1beta1.Attestor result = new com.google.cloud.binaryauthorization.v1beta1.Attestor(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -630,14 +564,17 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Attestor
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null
+            ? updateTime_
+            : updateTimeBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.Attestor result) {
       result.attestorTypeCase_ = attestorTypeCase_;
       result.attestorType_ = this.attestorType_;
-      if (attestorTypeCase_ == 3 && userOwnedDrydockNoteBuilder_ != null) {
+      if (attestorTypeCase_ == 3 &&
+          userOwnedDrydockNoteBuilder_ != null) {
         result.attestorType_ = userOwnedDrydockNoteBuilder_.build();
       }
     }
@@ -646,39 +583,38 @@ private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.Att
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.Attestor) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Attestor) other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Attestor)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -686,8 +622,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Attestor other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -702,15 +637,13 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Attestor o
         mergeUpdateTime(other.getUpdateTime());
       }
       switch (other.getAttestorTypeCase()) {
-        case USER_OWNED_DRYDOCK_NOTE:
-          {
-            mergeUserOwnedDrydockNote(other.getUserOwnedDrydockNote());
-            break;
-          }
-        case ATTESTORTYPE_NOT_SET:
-          {
-            break;
-          }
+        case USER_OWNED_DRYDOCK_NOTE: {
+          mergeUserOwnedDrydockNote(other.getUserOwnedDrydockNote());
+          break;
+        }
+        case ATTESTORTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -738,38 +671,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                input.readMessage(
-                    getUserOwnedDrydockNoteFieldBuilder().getBuilder(), extensionRegistry);
-                attestorTypeCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 50:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              input.readMessage(
+                  getUserOwnedDrydockNoteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              attestorTypeCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 50: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -779,12 +710,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int attestorTypeCase_ = 0;
     private java.lang.Object attestorType_;
-
-    public AttestorTypeCase getAttestorTypeCase() {
-      return AttestorTypeCase.forNumber(attestorTypeCase_);
+    public AttestorTypeCase
+        getAttestorTypeCase() {
+      return AttestorTypeCase.forNumber(
+          attestorTypeCase_);
     }
 
     public Builder clearAttestorType() {
@@ -798,21 +729,19 @@ public Builder clearAttestorType() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -821,22 +750,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -844,37 +772,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -884,22 +805,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -909,21 +826,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -932,22 +847,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -955,37 +869,30 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -995,22 +902,18 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -1019,21 +922,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> - userOwnedDrydockNoteBuilder_; + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> userOwnedDrydockNoteBuilder_; /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; * @return Whether the userOwnedDrydockNote field is set. */ @java.lang.Override @@ -1041,48 +936,35 @@ public boolean hasUserOwnedDrydockNote() { return attestorTypeCase_ == 3; } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; * @return The userOwnedDrydockNote. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - getUserOwnedDrydockNote() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getUserOwnedDrydockNote() { if (userOwnedDrydockNoteBuilder_ == null) { if (attestorTypeCase_ == 3) { return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } - return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - .getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } else { if (attestorTypeCase_ == 3) { return userOwnedDrydockNoteBuilder_.getMessage(); } - return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - .getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ - public Builder setUserOwnedDrydockNote( - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { + public Builder setUserOwnedDrydockNote(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { if (userOwnedDrydockNoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1096,15 +978,11 @@ public Builder setUserOwnedDrydockNote( return this; } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ public Builder setUserOwnedDrydockNote( com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder builderForValue) { @@ -1118,29 +996,18 @@ public Builder setUserOwnedDrydockNote( return this; } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ - public Builder mergeUserOwnedDrydockNote( - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { + public Builder mergeUserOwnedDrydockNote(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { if (userOwnedDrydockNoteBuilder_ == null) { - if (attestorTypeCase_ == 3 - && attestorType_ - != com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - .getDefaultInstance()) { - attestorType_ = - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder( - (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) - attestorType_) - .mergeFrom(value) - .buildPartial(); + if (attestorTypeCase_ == 3 && + attestorType_ != com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance()) { + attestorType_ = com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder((com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_) + .mergeFrom(value).buildPartial(); } else { attestorType_ = value; } @@ -1156,15 +1023,11 @@ public Builder mergeUserOwnedDrydockNote( return this; } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ public Builder clearUserOwnedDrydockNote() { if (userOwnedDrydockNoteBuilder_ == null) { @@ -1183,71 +1046,49 @@ public Builder clearUserOwnedDrydockNote() { return this; } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder - getUserOwnedDrydockNoteBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder getUserOwnedDrydockNoteBuilder() { return getUserOwnedDrydockNoteFieldBuilder().getBuilder(); } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder - getUserOwnedDrydockNoteOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder getUserOwnedDrydockNoteOrBuilder() { if ((attestorTypeCase_ == 3) && (userOwnedDrydockNoteBuilder_ != null)) { return userOwnedDrydockNoteBuilder_.getMessageOrBuilder(); } else { if (attestorTypeCase_ == 3) { return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } - return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - .getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } } /** - * - * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> getUserOwnedDrydockNoteFieldBuilder() { if (userOwnedDrydockNoteBuilder_ == null) { if (!(attestorTypeCase_ == 3)) { - attestorType_ = - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - .getDefaultInstance(); + attestorType_ = com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } - userOwnedDrydockNoteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder>( + userOwnedDrydockNoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder>( (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_, getParentForChildren(), isClean()); @@ -1260,58 +1101,39 @@ public Builder clearUserOwnedDrydockNote() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1327,17 +1149,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1348,21 +1167,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1375,15 +1190,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1396,15 +1207,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1412,55 +1219,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. Time when the attestor was last updated.
      * 
* - * - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1470,12 +1265,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.Attestor) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.Attestor) private static final com.google.cloud.binaryauthorization.v1beta1.Attestor DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.Attestor(); } @@ -1484,27 +1279,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.Attestor getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Attestor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Attestor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1519,4 +1314,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.Attestor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java similarity index 66% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java index 375cb29a0d63..0d844eec3c5a 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java @@ -1,159 +1,107 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface AttestorOrBuilder - extends +public interface AttestorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.Attestor) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; * @return Whether the userOwnedDrydockNote field is set. */ boolean hasUserOwnedDrydockNote(); /** - * - * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; * @return The userOwnedDrydockNote. */ com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getUserOwnedDrydockNote(); /** - * - * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; - * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; */ - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder - getUserOwnedDrydockNoteOrBuilder(); + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder getUserOwnedDrydockNoteOrBuilder(); /** - * - * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java similarity index 74% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java index 5dc35eaa4efe..dee96bf2c084 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * An [attestor public key][google.cloud.binaryauthorization.v1beta1.AttestorPublicKey] that will be used to verify
  * attestations signed by this attestor.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AttestorPublicKey}
  */
-public final class AttestorPublicKey extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AttestorPublicKey extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
     AttestorPublicKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AttestorPublicKey.newBuilder() to construct.
   private AttestorPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AttestorPublicKey() {
     comment_ = "";
     id_ = "";
@@ -45,39 +27,34 @@ private AttestorPublicKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AttestorPublicKey();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class,
-            com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
   }
 
   private int publicKeyCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object publicKey_;
-
   public enum PublicKeyCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ASCII_ARMORED_PGP_PUBLIC_KEY(3),
     PKIX_PUBLIC_KEY(5),
     PUBLICKEY_NOT_SET(0);
     private final int value;
-
     private PublicKeyCase(int value) {
       this.value = value;
     }
@@ -93,39 +70,32 @@ public static PublicKeyCase valueOf(int value) {
 
     public static PublicKeyCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return ASCII_ARMORED_PGP_PUBLIC_KEY;
-        case 5:
-          return PKIX_PUBLIC_KEY;
-        case 0:
-          return PUBLICKEY_NOT_SET;
-        default:
-          return null;
+        case 3: return ASCII_ARMORED_PGP_PUBLIC_KEY;
+        case 5: return PKIX_PUBLIC_KEY;
+        case 0: return PUBLICKEY_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PublicKeyCase getPublicKeyCase() {
-    return PublicKeyCase.forNumber(publicKeyCase_);
+  public PublicKeyCase
+  getPublicKeyCase() {
+    return PublicKeyCase.forNumber(
+        publicKeyCase_);
   }
 
   public static final int COMMENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object comment_ = "";
   /**
-   *
-   *
    * 
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The comment. */ @java.lang.Override @@ -134,29 +104,29 @@ public java.lang.String getComment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; } } /** - * - * *
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for comment. */ @java.lang.Override - public com.google.protobuf.ByteString getCommentBytes() { + public com.google.protobuf.ByteString + getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); comment_ = b; return b; } else { @@ -165,12 +135,9 @@ public com.google.protobuf.ByteString getCommentBytes() { } public static final int ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -182,7 +149,6 @@ public com.google.protobuf.ByteString getCommentBytes() {
    * 
* * string id = 2; - * * @return The id. */ @java.lang.Override @@ -191,15 +157,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -211,15 +176,16 @@ public java.lang.String getId() {
    * 
* * string id = 2; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -229,8 +195,6 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int ASCII_ARMORED_PGP_PUBLIC_KEY_FIELD_NUMBER = 3; /** - * - * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -243,15 +207,12 @@ public com.google.protobuf.ByteString getIdBytes() {
    * 
* * string ascii_armored_pgp_public_key = 3; - * * @return Whether the asciiArmoredPgpPublicKey field is set. */ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** - * - * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -264,7 +225,6 @@ public boolean hasAsciiArmoredPgpPublicKey() {
    * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The asciiArmoredPgpPublicKey. */ public java.lang.String getAsciiArmoredPgpPublicKey() { @@ -275,7 +235,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -284,8 +245,6 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** - * - * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -298,17 +257,18 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
    * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The bytes for asciiArmoredPgpPublicKey. */ - public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString + getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -320,8 +280,6 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { public static final int PKIX_PUBLIC_KEY_FIELD_NUMBER = 5; /** - * - * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -332,7 +290,6 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() {
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; - * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -340,8 +297,6 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** - * - * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -352,19 +307,16 @@ public boolean hasPkixPublicKey() {
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; - * * @return The pkixPublicKey. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicKey() { if (publicKeyCase_ == 5) { - return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_; + return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_; } return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance(); } /** - * - * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -377,16 +329,14 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicK
    * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
    */
   @java.lang.Override
-  public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder
-      getPkixPublicKeyOrBuilder() {
+  public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
     if (publicKeyCase_ == 5) {
-      return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_;
+       return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_;
     }
     return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -398,7 +348,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, comment_);
     }
@@ -409,8 +360,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       com.google.protobuf.GeneratedMessageV3.writeString(output, 3, publicKey_);
     }
     if (publicKeyCase_ == 5) {
-      output.writeMessage(
-          5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
+      output.writeMessage(5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -431,9 +381,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publicKey_);
     }
     if (publicKeyCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -443,24 +392,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)) {
       return super.equals(obj);
     }
-    com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey other =
-        (com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) obj;
+    com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey other = (com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) obj;
 
-    if (!getComment().equals(other.getComment())) return false;
-    if (!getId().equals(other.getId())) return false;
+    if (!getComment()
+        .equals(other.getComment())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
     if (!getPublicKeyCase().equals(other.getPublicKeyCase())) return false;
     switch (publicKeyCase_) {
       case 3:
-        if (!getAsciiArmoredPgpPublicKey().equals(other.getAsciiArmoredPgpPublicKey()))
-          return false;
+        if (!getAsciiArmoredPgpPublicKey()
+            .equals(other.getAsciiArmoredPgpPublicKey())) return false;
         break;
       case 5:
-        if (!getPkixPublicKey().equals(other.getPkixPublicKey())) return false;
+        if (!getPkixPublicKey()
+            .equals(other.getPkixPublicKey())) return false;
         break;
       case 0:
       default:
@@ -498,104 +449,98 @@ public int hashCode() {
   }
 
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey prototype) {
+  public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [attestor public key][google.cloud.binaryauthorization.v1beta1.AttestorPublicKey] that will be used to verify
    * attestations signed by this attestor.
@@ -603,32 +548,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AttestorPublicKey}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
       com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class,
-              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -644,14 +590,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
-        getDefaultInstanceForType() {
+    public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getDefaultInstanceForType() {
       return com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance();
     }
 
@@ -666,18 +611,14 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result =
-          new com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result = new com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
+    private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.comment_ = comment_;
@@ -687,11 +628,11 @@ private void buildPartial0(
       }
     }
 
-    private void buildPartialOneofs(
-        com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
+    private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
       result.publicKeyCase_ = publicKeyCase_;
       result.publicKey_ = this.publicKey_;
-      if (publicKeyCase_ == 5 && pkixPublicKeyBuilder_ != null) {
+      if (publicKeyCase_ == 5 &&
+          pkixPublicKeyBuilder_ != null) {
         result.publicKey_ = pkixPublicKeyBuilder_.build();
       }
     }
@@ -700,39 +641,38 @@ private void buildPartialOneofs(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -740,9 +680,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey other) {
-      if (other
-          == com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()) return this;
       if (!other.getComment().isEmpty()) {
         comment_ = other.comment_;
         bitField0_ |= 0x00000001;
@@ -754,22 +692,19 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AttestorPu
         onChanged();
       }
       switch (other.getPublicKeyCase()) {
-        case ASCII_ARMORED_PGP_PUBLIC_KEY:
-          {
-            publicKeyCase_ = 3;
-            publicKey_ = other.publicKey_;
-            onChanged();
-            break;
-          }
-        case PKIX_PUBLIC_KEY:
-          {
-            mergePkixPublicKey(other.getPkixPublicKey());
-            break;
-          }
-        case PUBLICKEY_NOT_SET:
-          {
-            break;
-          }
+        case ASCII_ARMORED_PGP_PUBLIC_KEY: {
+          publicKeyCase_ = 3;
+          publicKey_ = other.publicKey_;
+          onChanged();
+          break;
+        }
+        case PKIX_PUBLIC_KEY: {
+          mergePkixPublicKey(other.getPkixPublicKey());
+          break;
+        }
+        case PUBLICKEY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -797,38 +732,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                comment_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                publicKeyCase_ = 3;
-                publicKey_ = s;
-                break;
-              } // case 26
-            case 42:
-              {
-                input.readMessage(getPkixPublicKeyFieldBuilder().getBuilder(), extensionRegistry);
-                publicKeyCase_ = 5;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              comment_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              id_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              publicKeyCase_ = 3;
+              publicKey_ = s;
+              break;
+            } // case 26
+            case 42: {
+              input.readMessage(
+                  getPkixPublicKeyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              publicKeyCase_ = 5;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -838,12 +770,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int publicKeyCase_ = 0;
     private java.lang.Object publicKey_;
-
-    public PublicKeyCase getPublicKeyCase() {
-      return PublicKeyCase.forNumber(publicKeyCase_);
+    public PublicKeyCase
+        getPublicKeyCase() {
+      return PublicKeyCase.forNumber(
+          publicKeyCase_);
     }
 
     public Builder clearPublicKey() {
@@ -857,20 +789,18 @@ public Builder clearPublicKey() {
 
     private java.lang.Object comment_ = "";
     /**
-     *
-     *
      * 
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; @@ -879,21 +809,20 @@ public java.lang.String getComment() { } } /** - * - * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for comment. */ - public com.google.protobuf.ByteString getCommentBytes() { + public com.google.protobuf.ByteString + getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); comment_ = b; return b; } else { @@ -901,35 +830,28 @@ public com.google.protobuf.ByteString getCommentBytes() { } } /** - * - * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The comment to set. * @return This builder for chaining. */ - public Builder setComment(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setComment( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } comment_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearComment() { @@ -939,21 +861,17 @@ public Builder clearComment() { return this; } /** - * - * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for comment to set. * @return This builder for chaining. */ - public Builder setCommentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); comment_ = value; bitField0_ |= 0x00000001; @@ -963,8 +881,6 @@ public Builder setCommentBytes(com.google.protobuf.ByteString value) { private java.lang.Object id_ = ""; /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -976,13 +892,13 @@ public Builder setCommentBytes(com.google.protobuf.ByteString value) {
      * 
* * string id = 2; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -991,8 +907,6 @@ public java.lang.String getId() { } } /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -1004,14 +918,15 @@ public java.lang.String getId() {
      * 
* * string id = 2; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1019,8 +934,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -1032,22 +945,18 @@ public com.google.protobuf.ByteString getIdBytes() {
      * 
* * string id = 2; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -1059,7 +968,6 @@ public Builder setId(java.lang.String value) {
      * 
* * string id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1069,8 +977,6 @@ public Builder clearId() { return this; } /** - * - * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -1082,14 +988,12 @@ public Builder clearId() {
      * 
* * string id = 2; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -1098,8 +1002,6 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1112,7 +1014,6 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return Whether the asciiArmoredPgpPublicKey field is set. */ @java.lang.Override @@ -1120,8 +1021,6 @@ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1134,7 +1033,6 @@ public boolean hasAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The asciiArmoredPgpPublicKey. */ @java.lang.Override @@ -1144,7 +1042,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { ref = publicKey_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -1155,8 +1054,6 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1169,18 +1066,19 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The bytes for asciiArmoredPgpPublicKey. */ @java.lang.Override - public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString + getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -1190,8 +1088,6 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { } } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1204,22 +1100,18 @@ public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @param value The asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsciiArmoredPgpPublicKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKeyCase_ = 3; publicKey_ = value; onChanged(); return this; } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1232,7 +1124,6 @@ public Builder setAsciiArmoredPgpPublicKey(java.lang.String value) {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @return This builder for chaining. */ public Builder clearAsciiArmoredPgpPublicKey() { @@ -1244,8 +1135,6 @@ public Builder clearAsciiArmoredPgpPublicKey() { return this; } /** - * - * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1258,14 +1147,12 @@ public Builder clearAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; - * * @param value The bytes for asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAsciiArmoredPgpPublicKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKeyCase_ = 3; publicKey_ = value; @@ -1274,13 +1161,8 @@ public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString v } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder> - pkixPublicKeyBuilder_; + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder> pkixPublicKeyBuilder_; /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1291,7 +1173,6 @@ public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString v
      * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; - * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -1299,8 +1180,6 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1311,7 +1190,6 @@ public boolean hasPkixPublicKey() {
      * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; - * * @return The pkixPublicKey. */ @java.lang.Override @@ -1329,8 +1207,6 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicK } } /** - * - * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1342,8 +1218,7 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicK
      *
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
-    public Builder setPkixPublicKey(
-        com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
+    public Builder setPkixPublicKey(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
       if (pkixPublicKeyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1357,8 +1232,6 @@ public Builder setPkixPublicKey(
       return this;
     }
     /**
-     *
-     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1382,8 +1255,6 @@ public Builder setPkixPublicKey(
       return this;
     }
     /**
-     *
-     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1395,18 +1266,12 @@ public Builder setPkixPublicKey(
      *
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
-    public Builder mergePkixPublicKey(
-        com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
+    public Builder mergePkixPublicKey(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
       if (pkixPublicKeyBuilder_ == null) {
-        if (publicKeyCase_ == 5
-            && publicKey_
-                != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey
-                    .getDefaultInstance()) {
-          publicKey_ =
-              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.newBuilder(
-                      (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (publicKeyCase_ == 5 &&
+            publicKey_ != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance()) {
+          publicKey_ = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.newBuilder((com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_)
+              .mergeFrom(value).buildPartial();
         } else {
           publicKey_ = value;
         }
@@ -1422,8 +1287,6 @@ public Builder mergePkixPublicKey(
       return this;
     }
     /**
-     *
-     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1452,8 +1315,6 @@ public Builder clearPkixPublicKey() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1465,13 +1326,10 @@ public Builder clearPkixPublicKey() {
      *
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
-    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder
-        getPkixPublicKeyBuilder() {
+    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder getPkixPublicKeyBuilder() {
       return getPkixPublicKeyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1484,8 +1342,7 @@ public Builder clearPkixPublicKey() {
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder
-        getPkixPublicKeyOrBuilder() {
+    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
       if ((publicKeyCase_ == 5) && (pkixPublicKeyBuilder_ != null)) {
         return pkixPublicKeyBuilder_.getMessageOrBuilder();
       } else {
@@ -1496,8 +1353,6 @@ public Builder clearPkixPublicKey() {
       }
     }
     /**
-     *
-     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1510,20 +1365,14 @@ public Builder clearPkixPublicKey() {
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey,
-            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder,
-            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder>
+        com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder> 
         getPkixPublicKeyFieldBuilder() {
       if (pkixPublicKeyBuilder_ == null) {
         if (!(publicKeyCase_ == 5)) {
-          publicKey_ =
-              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance();
+          publicKey_ = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance();
         }
-        pkixPublicKeyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey,
-                com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder,
-                com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder>(
+        pkixPublicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder>(
                 (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_,
                 getParentForChildren(),
                 isClean());
@@ -1533,9 +1382,9 @@ public Builder clearPkixPublicKey() {
       onChanged();
       return pkixPublicKeyBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1545,43 +1394,41 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
-  private static final com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
-      DEFAULT_INSTANCE;
-
+  private static final com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey();
   }
 
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
-      getDefaultInstance() {
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AttestorPublicKey parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AttestorPublicKey parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1593,8 +1440,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
-      getDefaultInstanceForType() {
+  public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
similarity index 85%
rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
index 47570ba30d69..70fbcd237598 100644
--- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
+++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
@@ -1,56 +1,33 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/binaryauthorization/v1beta1/resources.proto
 
 package com.google.cloud.binaryauthorization.v1beta1;
 
-public interface AttestorPublicKeyOrBuilder
-    extends
+public interface AttestorPublicKeyOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The comment. */ java.lang.String getComment(); /** - * - * *
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for comment. */ - com.google.protobuf.ByteString getCommentBytes(); + com.google.protobuf.ByteString + getCommentBytes(); /** - * - * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -62,13 +39,10 @@ public interface AttestorPublicKeyOrBuilder
    * 
* * string id = 2; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -80,14 +54,12 @@ public interface AttestorPublicKeyOrBuilder
    * 
* * string id = 2; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -100,13 +72,10 @@ public interface AttestorPublicKeyOrBuilder
    * 
* * string ascii_armored_pgp_public_key = 3; - * * @return Whether the asciiArmoredPgpPublicKey field is set. */ boolean hasAsciiArmoredPgpPublicKey(); /** - * - * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -119,13 +88,10 @@ public interface AttestorPublicKeyOrBuilder
    * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The asciiArmoredPgpPublicKey. */ java.lang.String getAsciiArmoredPgpPublicKey(); /** - * - * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -138,14 +104,12 @@ public interface AttestorPublicKeyOrBuilder
    * 
* * string ascii_armored_pgp_public_key = 3; - * * @return The bytes for asciiArmoredPgpPublicKey. */ - com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes(); + com.google.protobuf.ByteString + getAsciiArmoredPgpPublicKeyBytes(); /** - * - * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -156,13 +120,10 @@ public interface AttestorPublicKeyOrBuilder
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; - * * @return Whether the pkixPublicKey field is set. */ boolean hasPkixPublicKey(); /** - * - * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -173,13 +134,10 @@ public interface AttestorPublicKeyOrBuilder
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; - * * @return The pkixPublicKey. */ com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicKey(); /** - * - * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java
new file mode 100644
index 000000000000..350747556f10
--- /dev/null
+++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java
@@ -0,0 +1,269 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/binaryauthorization/v1beta1/resources.proto
+
+package com.google.cloud.binaryauthorization.v1beta1;
+
+public final class BinaryAuthorizationResourcesProto {
+  private BinaryAuthorizationResourcesProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public 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_binaryauthorization_v1beta1_Policy_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n8google/cloud/binaryauthorization/v1bet" +
+      "a1/resources.proto\022(google.cloud.binarya" +
+      "uthorization.v1beta1\032\037google/api/field_b" +
+      "ehavior.proto\032\031google/api/resource.proto" +
+      "\032\037google/protobuf/timestamp.proto\"\273\r\n\006Po" +
+      "licy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030" +
+      "\006 \001(\tB\004\342A\001\001\022x\n\035global_policy_evaluation_" +
+      "mode\030\007 \001(\0162K.google.cloud.binaryauthoriz" +
+      "ation.v1beta1.Policy.GlobalPolicyEvaluat" +
+      "ionModeB\004\342A\001\001\022o\n\034admission_whitelist_pat" +
+      "terns\030\002 \003(\0132C.google.cloud.binaryauthori" +
+      "zation.v1beta1.AdmissionWhitelistPattern" +
+      "B\004\342A\001\001\022r\n\027cluster_admission_rules\030\003 \003(\0132" +
+      "K.google.cloud.binaryauthorization.v1bet" +
+      "a1.Policy.ClusterAdmissionRulesEntryB\004\342A" +
+      "\001\001\022\213\001\n$kubernetes_namespace_admission_ru" +
+      "les\030\n \003(\0132W.google.cloud.binaryauthoriza" +
+      "tion.v1beta1.Policy.KubernetesNamespaceA" +
+      "dmissionRulesEntryB\004\342A\001\001\022\226\001\n*kubernetes_" +
+      "service_account_admission_rules\030\010 \003(\0132\\." +
+      "google.cloud.binaryauthorization.v1beta1" +
+      ".Policy.KubernetesServiceAccountAdmissio" +
+      "nRulesEntryB\004\342A\001\001\022\216\001\n&istio_service_iden" +
+      "tity_admission_rules\030\t \003(\0132X.google.clou" +
+      "d.binaryauthorization.v1beta1.Policy.Ist" +
+      "ioServiceIdentityAdmissionRulesEntryB\004\342A" +
+      "\001\001\022]\n\026default_admission_rule\030\004 \001(\01327.goo" +
+      "gle.cloud.binaryauthorization.v1beta1.Ad" +
+      "missionRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032" +
+      ".google.protobuf.TimestampB\004\342A\001\003\032u\n\032Clus" +
+      "terAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005v" +
+      "alue\030\002 \001(\01327.google.cloud.binaryauthoriz" +
+      "ation.v1beta1.AdmissionRule:\0028\001\032\201\001\n&Kube" +
+      "rnetesNamespaceAdmissionRulesEntry\022\013\n\003ke" +
+      "y\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google.cloud.bi" +
+      "naryauthorization.v1beta1.AdmissionRule:" +
+      "\0028\001\032\206\001\n+KubernetesServiceAccountAdmissio" +
+      "nRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\0132" +
+      "7.google.cloud.binaryauthorization.v1bet" +
+      "a1.AdmissionRule:\0028\001\032\202\001\n\'IstioServiceIde" +
+      "ntityAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n" +
+      "\005value\030\002 \001(\01327.google.cloud.binaryauthor" +
+      "ization.v1beta1.AdmissionRule:\0028\001\"d\n\032Glo" +
+      "balPolicyEvaluationMode\022-\n)GLOBAL_POLICY" +
+      "_EVALUATION_MODE_UNSPECIFIED\020\000\022\n\n\006ENABLE" +
+      "\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binaryauthorizatio" +
+      "n.googleapis.com/Policy\022\031projects/{proje" +
+      "ct}/policy\022\033locations/{location}/policy\"" +
+      "1\n\031AdmissionWhitelistPattern\022\024\n\014name_pat" +
+      "tern\030\001 \001(\t\"\347\003\n\rAdmissionRule\022e\n\017evaluati" +
+      "on_mode\030\001 \001(\0162F.google.cloud.binaryautho" +
+      "rization.v1beta1.AdmissionRule.Evaluatio" +
+      "nModeB\004\342A\001\002\022%\n\027require_attestations_by\030\002" +
+      " \003(\tB\004\342A\001\001\022g\n\020enforcement_mode\030\003 \001(\0162G.g" +
+      "oogle.cloud.binaryauthorization.v1beta1." +
+      "AdmissionRule.EnforcementModeB\004\342A\001\002\"m\n\016E" +
+      "valuationMode\022\037\n\033EVALUATION_MODE_UNSPECI" +
+      "FIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_ATTE" +
+      "STATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforcemen" +
+      "tMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED\020\000\022" +
+      " \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025DRY" +
+      "RUN_AUDIT_LOG_ONLY\020\002\"\277\002\n\010Attestor\022\022\n\004nam" +
+      "e\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342A\001\001" +
+      "\022a\n\027user_owned_drydock_note\030\003 \001(\0132>.goog" +
+      "le.cloud.binaryauthorization.v1beta1.Use" +
+      "rOwnedDrydockNoteH\000\0225\n\013update_time\030\004 \001(\013" +
+      "2\032.google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n" +
+      "+binaryauthorization.googleapis.com/Atte" +
+      "stor\022\'projects/{project}/attestors/{atte" +
+      "stor}B\017\n\rattestor_type\"\274\001\n\024UserOwnedDryd" +
+      "ockNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022V\n" +
+      "\013public_keys\030\002 \003(\0132;.google.cloud.binary" +
+      "authorization.v1beta1.AttestorPublicKeyB" +
+      "\004\342A\001\001\022.\n delegation_service_account_emai" +
+      "l\030\003 \001(\tB\004\342A\001\003\"\304\004\n\rPkixPublicKey\022\026\n\016publi" +
+      "c_key_pem\030\001 \001(\t\022g\n\023signature_algorithm\030\002" +
+      " \001(\0162J.google.cloud.binaryauthorization." +
+      "v1beta1.PkixPublicKey.SignatureAlgorithm" +
+      "\"\261\003\n\022SignatureAlgorithm\022#\n\037SIGNATURE_ALG" +
+      "ORITHM_UNSPECIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA" +
+      "256\020\001\022\027\n\023RSA_PSS_3072_SHA256\020\002\022\027\n\023RSA_PS" +
+      "S_4096_SHA256\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004" +
+      "\022\036\n\032RSA_SIGN_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_" +
+      "SIGN_PKCS1_3072_SHA256\020\006\022\036\n\032RSA_SIGN_PKC" +
+      "S1_4096_SHA256\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_" +
+      "SHA512\020\010\022\025\n\021ECDSA_P256_SHA256\020\t\022\027\n\023EC_SI" +
+      "GN_P256_SHA256\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022" +
+      "\027\n\023EC_SIGN_P384_SHA384\020\n\022\025\n\021ECDSA_P521_S" +
+      "HA512\020\013\022\027\n\023EC_SIGN_P521_SHA512\020\013\032\002\020\001\"\300\001\n" +
+      "\021AttestorPublicKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001" +
+      "\001\022\n\n\002id\030\002 \001(\t\022&\n\034ascii_armored_pgp_publi" +
+      "c_key\030\003 \001(\tH\000\022R\n\017pkix_public_key\030\005 \001(\01327" +
+      ".google.cloud.binaryauthorization.v1beta" +
+      "1.PkixPublicKeyH\000B\014\n\npublic_keyB\272\002\n,com." +
+      "google.cloud.binaryauthorization.v1beta1" +
+      "B!BinaryAuthorizationResourcesProtoP\001Z^c" +
+      "loud.google.com/go/binaryauthorization/a" +
+      "piv1beta1/binaryauthorizationpb;binaryau" +
+      "thorizationpb\370\001\001\252\002(Google.Cloud.BinaryAu" +
+      "thorization.V1Beta1\312\002(Google\\Cloud\\Binar" +
+      "yAuthorization\\V1beta1\352\002+Google::Cloud::" +
+      "BinaryAuthorization::V1beta1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor,
+        new java.lang.String[] { "Name", "Description", "GlobalPolicyEvaluationMode", "AdmissionWhitelistPatterns", "ClusterAdmissionRules", "KubernetesNamespaceAdmissionRules", "KubernetesServiceAccountAdmissionRules", "IstioServiceIdentityAdmissionRules", "DefaultAdmissionRule", "UpdateTime", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor =
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor =
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor =
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor =
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor,
+        new java.lang.String[] { "NamePattern", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor,
+        new java.lang.String[] { "EvaluationMode", "RequireAttestationsBy", "EnforcementMode", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor,
+        new java.lang.String[] { "Name", "Description", "UserOwnedDrydockNote", "UpdateTime", "AttestorType", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor,
+        new java.lang.String[] { "NoteReference", "PublicKeys", "DelegationServiceAccountEmail", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor,
+        new java.lang.String[] { "PublicKeyPem", "SignatureAlgorithm", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor,
+        new java.lang.String[] { "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java
new file mode 100644
index 000000000000..c94a9daf6fc8
--- /dev/null
+++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java
@@ -0,0 +1,241 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/binaryauthorization/v1beta1/service.proto
+
+package com.google.cloud.binaryauthorization.v1beta1;
+
+public final class BinaryAuthorizationServiceProto {
+  private BinaryAuthorizationServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public 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_binaryauthorization_v1beta1_GetPolicyRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/cloud/binaryauthorization/v1bet" +
+      "a1/service.proto\022(google.cloud.binaryaut" +
+      "horization.v1beta1\032\034google/api/annotatio" +
+      "ns.proto\032\027google/api/client.proto\032\037googl" +
+      "e/api/field_behavior.proto\032\031google/api/r" +
+      "esource.proto\0328google/cloud/binaryauthor" +
+      "ization/v1beta1/resources.proto\032\033google/" +
+      "protobuf/empty.proto\"T\n\020GetPolicyRequest" +
+      "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza" +
+      "tion.googleapis.com/Policy\"]\n\023UpdatePoli" +
+      "cyRequest\022F\n\006policy\030\001 \001(\01320.google.cloud" +
+      ".binaryauthorization.v1beta1.PolicyB\004\342A\001" +
+      "\002\"\304\001\n\025CreateAttestorRequest\022D\n\006parent\030\001 " +
+      "\001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.googl" +
+      "eapis.com/Project\022\031\n\013attestor_id\030\002 \001(\tB\004" +
+      "\342A\001\002\022J\n\010attestor\030\003 \001(\01322.google.cloud.bi" +
+      "naryauthorization.v1beta1.AttestorB\004\342A\001\002" +
+      "\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(\tB4\342A" +
+      "\001\002\372A-\n+binaryauthorization.googleapis.co" +
+      "m/Attestor\"c\n\025UpdateAttestorRequest\022J\n\010a" +
+      "ttestor\030\001 \001(\01322.google.cloud.binaryautho" +
+      "rization.v1beta1.AttestorB\004\342A\001\002\"\203\001\n\024List" +
+      "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A" +
+      "-\n+cloudresourcemanager.googleapis.com/P" +
+      "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" +
+      "\003 \001(\t\"w\n\025ListAttestorsResponse\022E\n\tattest" +
+      "ors\030\001 \003(\01322.google.cloud.binaryauthoriza" +
+      "tion.v1beta1.Attestor\022\027\n\017next_page_token" +
+      "\030\002 \001(\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030" +
+      "\001 \001(\tB4\342A\001\002\372A-\n+binaryauthorization.goog" +
+      "leapis.com/Attestor\"Z\n\026GetSystemPolicyRe" +
+      "quest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauth" +
+      "orization.googleapis.com/Policy2\313\013\n Bina" +
+      "uthzManagementServiceV1Beta1\022\253\001\n\tGetPoli" +
+      "cy\022:.google.cloud.binaryauthorization.v1" +
+      "beta1.GetPolicyRequest\0320.google.cloud.bi" +
+      "naryauthorization.v1beta1.Policy\"0\332A\004nam" +
+      "e\202\323\344\223\002#\022!/v1beta1/{name=projects/*/polic" +
+      "y}\022\302\001\n\014UpdatePolicy\022=.google.cloud.binar" +
+      "yauthorization.v1beta1.UpdatePolicyReque" +
+      "st\0320.google.cloud.binaryauthorization.v1" +
+      "beta1.Policy\"A\332A\006policy\202\323\344\223\0022\032(/v1beta1/" +
+      "{policy.name=projects/*/policy}:\006policy\022" +
+      "\335\001\n\016CreateAttestor\022?.google.cloud.binary" +
+      "authorization.v1beta1.CreateAttestorRequ" +
+      "est\0322.google.cloud.binaryauthorization.v" +
+      "1beta1.Attestor\"V\332A\033parent,attestor_id,a" +
+      "ttestor\202\323\344\223\0022\"&/v1beta1/{parent=projects" +
+      "/*}/attestors:\010attestor\022\266\001\n\013GetAttestor\022" +
+      "<.google.cloud.binaryauthorization.v1bet" +
+      "a1.GetAttestorRequest\0322.google.cloud.bin" +
+      "aryauthorization.v1beta1.Attestor\"5\332A\004na" +
+      "me\202\323\344\223\002(\022&/v1beta1/{name=projects/*/atte" +
+      "stors/*}\022\323\001\n\016UpdateAttestor\022?.google.clo" +
+      "ud.binaryauthorization.v1beta1.UpdateAtt" +
+      "estorRequest\0322.google.cloud.binaryauthor" +
+      "ization.v1beta1.Attestor\"L\332A\010attestor\202\323\344" +
+      "\223\002;\032//v1beta1/{attestor.name=projects/*/" +
+      "attestors/*}:\010attestor\022\311\001\n\rListAttestors" +
+      "\022>.google.cloud.binaryauthorization.v1be" +
+      "ta1.ListAttestorsRequest\032?.google.cloud." +
+      "binaryauthorization.v1beta1.ListAttestor" +
+      "sResponse\"7\332A\006parent\202\323\344\223\002(\022&/v1beta1/{pa" +
+      "rent=projects/*}/attestors\022\240\001\n\016DeleteAtt" +
+      "estor\022?.google.cloud.binaryauthorization" +
+      ".v1beta1.DeleteAttestorRequest\032\026.google." +
+      "protobuf.Empty\"5\332A\004name\202\323\344\223\002(*&/v1beta1/" +
+      "{name=projects/*/attestors/*}\032V\312A\"binary" +
+      "authorization.googleapis.com\322A.https://w" +
+      "ww.googleapis.com/auth/cloud-platform2\250\002" +
+      "\n\023SystemPolicyV1Beta1\022\270\001\n\017GetSystemPolic" +
+      "y\022@.google.cloud.binaryauthorization.v1b" +
+      "eta1.GetSystemPolicyRequest\0320.google.clo" +
+      "ud.binaryauthorization.v1beta1.Policy\"1\332" +
+      "A\004name\202\323\344\223\002$\022\"/v1beta1/{name=locations/*" +
+      "/policy}\032V\312A\"binaryauthorization.googlea" +
+      "pis.com\322A.https://www.googleapis.com/aut" +
+      "h/cloud-platformB\270\002\n,com.google.cloud.bi" +
+      "naryauthorization.v1beta1B\037BinaryAuthori" +
+      "zationServiceProtoP\001Z^cloud.google.com/g" +
+      "o/binaryauthorization/apiv1beta1/binarya" +
+      "uthorizationpb;binaryauthorizationpb\370\001\001\252" +
+      "\002(Google.Cloud.BinaryAuthorization.V1Bet" +
+      "a1\312\002(Google\\Cloud\\BinaryAuthorization\\V1" +
+      "beta1\352\002+Google::Cloud::BinaryAuthorizati" +
+      "on::V1beta1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.ClientProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.getDescriptor(),
+          com.google.protobuf.EmptyProto.getDescriptor(),
+        });
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor,
+        new java.lang.String[] { "Policy", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor,
+        new java.lang.String[] { "Parent", "AttestorId", "Attestor", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor,
+        new java.lang.String[] { "Attestor", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor,
+        new java.lang.String[] { "Attestors", "NextPageToken", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_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.ResourceProto.getDescriptor();
+    com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
similarity index 59%
rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
index 3ea74d07eefe..3f218b9a23be 100644
--- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
+++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
@@ -1,172 +1,130 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto
 
 package com.google.cloud.binaryauthorization.v1beta1;
 
 /**
- *
- *
  * 
  * Represents an auditing event from Continuous Validation.
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent} */ -public final class ContinuousValidationEvent extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContinuousValidationEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) ContinuousValidationEventOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContinuousValidationEvent.newBuilder() to construct. private ContinuousValidationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ContinuousValidationEvent() {} + private ContinuousValidationEvent() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContinuousValidationEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); } - public interface ContinuousValidationPodEventOrBuilder - extends + public interface ContinuousValidationPodEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; - * * @return The podNamespace. */ java.lang.String getPodNamespace(); /** - * - * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; - * * @return The bytes for podNamespace. */ - com.google.protobuf.ByteString getPodNamespaceBytes(); + com.google.protobuf.ByteString + getPodNamespaceBytes(); /** - * - * *
      * The name of the Pod.
      * 
* * string pod = 1; - * * @return The pod. */ java.lang.String getPod(); /** - * - * *
      * The name of the Pod.
      * 
* * string pod = 1; - * * @return The bytes for pod. */ - com.google.protobuf.ByteString getPodBytes(); + com.google.protobuf.ByteString + getPodBytes(); /** - * - * *
      * The name of the policy.
      * 
* * string policy_name = 8; - * * @return The policyName. */ java.lang.String getPolicyName(); /** - * - * *
      * The name of the policy.
      * 
* * string policy_name = 8; - * * @return The bytes for policyName. */ - com.google.protobuf.ByteString getPolicyNameBytes(); + com.google.protobuf.ByteString + getPolicyNameBytes(); /** - * - * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; - * * @return Whether the deployTime field is set. */ boolean hasDeployTime(); /** - * - * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; - * * @return The deployTime. */ com.google.protobuf.Timestamp getDeployTime(); /** - * - * *
      * Deploy time of the Pod from k8s.
      * 
@@ -176,32 +134,24 @@ public interface ContinuousValidationPodEventOrBuilder com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder(); /** - * - * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
@@ -211,130 +161,84 @@ public interface ContinuousValidationPodEventOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
      * Auditing verdict for this Pod.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @return The enum numeric value on the wire for verdict. */ int getVerdictValue(); /** - * - * *
      * Auditing verdict for this Pod.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @return The verdict. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - getVerdict(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict getVerdict(); /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails> + java.util.List getImagesList(); /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - getImages(int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getImages(int index); /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ int getImagesCount(); /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - java.util.List< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder> + java.util.List getImagesOrBuilderList(); /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder - getImagesOrBuilder(int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder getImagesOrBuilder( + int index); } /** - * - * *
    * An auditing event for one Pod.
    * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} */ - public static final class ContinuousValidationPodEvent - extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ContinuousValidationPodEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) ContinuousValidationPodEventOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContinuousValidationPodEvent.newBuilder() to construct. - private ContinuousValidationPodEvent( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ContinuousValidationPodEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContinuousValidationPodEvent() { podNamespace_ = ""; pod_ = ""; @@ -345,41 +249,34 @@ private ContinuousValidationPodEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContinuousValidationPodEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder.class); } /** - * - * *
      * Audit time policy conformance verdict.
      * 
* - * Protobuf enum {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict} + * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict} */ - public enum PolicyConformanceVerdict implements com.google.protobuf.ProtocolMessageEnum { + public enum PolicyConformanceVerdict + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * We should always have a verdict. This is an error.
        * 
@@ -388,8 +285,6 @@ public enum PolicyConformanceVerdict implements com.google.protobuf.ProtocolMess */ POLICY_CONFORMANCE_VERDICT_UNSPECIFIED(0), /** - * - * *
        * The pod violates the policy.
        * 
@@ -401,8 +296,6 @@ public enum PolicyConformanceVerdict implements com.google.protobuf.ProtocolMess ; /** - * - * *
        * We should always have a verdict. This is an error.
        * 
@@ -411,8 +304,6 @@ public enum PolicyConformanceVerdict implements com.google.protobuf.ProtocolMess */ public static final int POLICY_CONFORMANCE_VERDICT_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The pod violates the policy.
        * 
@@ -421,6 +312,7 @@ public enum PolicyConformanceVerdict implements com.google.protobuf.ProtocolMess */ public static final int VIOLATES_POLICY_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -445,12 +337,9 @@ public static PolicyConformanceVerdict valueOf(int value) { */ public static PolicyConformanceVerdict forNumber(int value) { switch (value) { - case 0: - return POLICY_CONFORMANCE_VERDICT_UNSPECIFIED; - case 1: - return VIOLATES_POLICY; - default: - return null; + case 0: return POLICY_CONFORMANCE_VERDICT_UNSPECIFIED; + case 1: return VIOLATES_POLICY; + default: return null; } } @@ -458,32 +347,29 @@ public static PolicyConformanceVerdict forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + PolicyConformanceVerdict> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PolicyConformanceVerdict findValueByNumber(int number) { + return PolicyConformanceVerdict.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PolicyConformanceVerdict findValueByNumber(int number) { - return PolicyConformanceVerdict.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDescriptor().getEnumTypes().get(0); } private static final PolicyConformanceVerdict[] VALUES = values(); @@ -491,7 +377,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PolicyConformanceVerdict 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; @@ -508,186 +395,172 @@ private PolicyConformanceVerdict(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict) } - public interface ImageDetailsOrBuilder - extends + public interface ImageDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The name of the image.
        * 
* * string image = 1; - * * @return The image. */ java.lang.String getImage(); /** - * - * *
        * The name of the image.
        * 
* * string image = 1; - * * @return The bytes for image. */ - com.google.protobuf.ByteString getImageBytes(); + com.google.protobuf.ByteString + getImageBytes(); + + /** + *
+       * The name of the container.
+       * 
+ * + * string container_name = 5; + * @return The containerName. + */ + java.lang.String getContainerName(); + /** + *
+       * The name of the container.
+       * 
+ * + * string container_name = 5; + * @return The bytes for containerName. + */ + com.google.protobuf.ByteString + getContainerNameBytes(); /** + *
+       * The container type that this image belongs to.
+       * 
* + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @return The enum numeric value on the wire for containerType. + */ + int getContainerTypeValue(); + /** + *
+       * The container type that this image belongs to.
+       * 
* + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @return The containerType. + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType getContainerType(); + + /** *
        * The result of the audit for this image.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; * @return The enum numeric value on the wire for result. */ int getResultValue(); /** - * - * *
        * The result of the audit for this image.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; * @return The result. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult - getResult(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult getResult(); /** - * - * *
        * Description of the above result.
        * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
        * Description of the above result.
        * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult> + java.util.List getCheckResultsList(); /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - getCheckResults(int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getCheckResults(int index); /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ int getCheckResultsCount(); /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - java.util.List< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> + java.util.List getCheckResultsOrBuilderList(); /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder - getCheckResultsOrBuilder(int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder getCheckResultsOrBuilder( + int index); } /** - * - * *
      * Container image with auditing details.
      * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} */ - public static final class ImageDetails extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ImageDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) ImageDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageDetails.newBuilder() to construct. private ImageDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImageDetails() { image_ = ""; + containerName_ = ""; + containerType_ = 0; result_ = 0; description_ = ""; checkResults_ = java.util.Collections.emptyList(); @@ -695,101 +568,105 @@ private ImageDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImageDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder.class); } /** - * - * *
-       * Result of the audit.
+       * The container type.
        * 
* - * Protobuf enum {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult} + * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType} */ - public enum AuditResult implements com.google.protobuf.ProtocolMessageEnum { + public enum ContainerType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
-         * Unspecified result. This is an error.
+         * The container type should always be specified. This is an error.
          * 
* - * AUDIT_RESULT_UNSPECIFIED = 0; + * CONTAINER_TYPE_UNSPECIFIED = 0; */ - AUDIT_RESULT_UNSPECIFIED(0), + CONTAINER_TYPE_UNSPECIFIED(0), /** - * - * *
-         * Image is allowed.
+         * A regular deployment.
          * 
* - * ALLOW = 1; + * CONTAINER = 1; */ - ALLOW(1), + CONTAINER(1), /** + *
+         * Init container defined as specified at
+         * https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
+         * 
* - * + * INIT_CONTAINER = 2; + */ + INIT_CONTAINER(2), + /** *
-         * Image is denied.
+         * Ephemeral container defined as specified at
+         * https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/
          * 
* - * DENY = 2; + * EPHEMERAL_CONTAINER = 3; */ - DENY(2), + EPHEMERAL_CONTAINER(3), UNRECOGNIZED(-1), ; /** - * - * *
-         * Unspecified result. This is an error.
+         * The container type should always be specified. This is an error.
          * 
* - * AUDIT_RESULT_UNSPECIFIED = 0; + * CONTAINER_TYPE_UNSPECIFIED = 0; */ - public static final int AUDIT_RESULT_UNSPECIFIED_VALUE = 0; + public static final int CONTAINER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
-         * Image is allowed.
+         * A regular deployment.
          * 
* - * ALLOW = 1; + * CONTAINER = 1; */ - public static final int ALLOW_VALUE = 1; + public static final int CONTAINER_VALUE = 1; /** + *
+         * Init container defined as specified at
+         * https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
+         * 
* - * + * INIT_CONTAINER = 2; + */ + public static final int INIT_CONTAINER_VALUE = 2; + /** *
-         * Image is denied.
+         * Ephemeral container defined as specified at
+         * https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/
          * 
* - * DENY = 2; + * EPHEMERAL_CONTAINER = 3; */ - public static final int DENY_VALUE = 2; + public static final int EPHEMERAL_CONTAINER_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { @@ -805,7 +682,7 @@ public final int getNumber() { * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated - public static AuditResult valueOf(int value) { + public static ContainerType valueOf(int value) { return forNumber(value); } @@ -813,57 +690,52 @@ public static AuditResult valueOf(int value) { * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ - public static AuditResult forNumber(int value) { + public static ContainerType forNumber(int value) { switch (value) { - case 0: - return AUDIT_RESULT_UNSPECIFIED; - case 1: - return ALLOW; - case 2: - return DENY; - default: - return null; + case 0: return CONTAINER_TYPE_UNSPECIFIED; + case 1: return CONTAINER; + case 2: return INIT_CONTAINER; + case 3: return EPHEMERAL_CONTAINER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + ContainerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ContainerType findValueByNumber(int number) { + return ContainerType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuditResult findValueByNumber(int number) { - return AuditResult.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDescriptor().getEnumTypes().get(0); } - private static final AuditResult[] VALUES = values(); + private static final ContainerType[] VALUES = values(); - public static AuditResult valueOf( + public static ContainerType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -873,258 +745,340 @@ public static AuditResult valueOf( private final int value; - private AuditResult(int value) { + private ContainerType(int value) { this.value = value; } - // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult) + // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType) } - public interface CheckResultOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) - com.google.protobuf.MessageOrBuilder { - + /** + *
+       * Result of the audit.
+       * 
+ * + * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult} + */ + public enum AuditResult + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
-         * The index of the check set.
+         * Unspecified result. This is an error.
          * 
* - * string check_set_index = 1; - * - * @return The checkSetIndex. + * AUDIT_RESULT_UNSPECIFIED = 0; */ - java.lang.String getCheckSetIndex(); + AUDIT_RESULT_UNSPECIFIED(0), /** - * - * *
-         * The index of the check set.
+         * Image is allowed.
          * 
* - * string check_set_index = 1; - * - * @return The bytes for checkSetIndex. + * ALLOW = 1; */ - com.google.protobuf.ByteString getCheckSetIndexBytes(); - + ALLOW(1), /** - * - * *
-         * The name of the check set.
+         * Image is denied.
          * 
* - * string check_set_name = 2; - * - * @return The checkSetName. + * DENY = 2; */ - java.lang.String getCheckSetName(); + DENY(2), + UNRECOGNIZED(-1), + ; + /** - * - * *
-         * The name of the check set.
+         * Unspecified result. This is an error.
          * 
* - * string check_set_name = 2; - * - * @return The bytes for checkSetName. + * AUDIT_RESULT_UNSPECIFIED = 0; */ - com.google.protobuf.ByteString getCheckSetNameBytes(); - + public static final int AUDIT_RESULT_UNSPECIFIED_VALUE = 0; /** - * - * *
-         * The scope of the check set.
+         * Image is allowed.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * - * - * @return Whether the checkSetScope field is set. + * ALLOW = 1; */ - boolean hasCheckSetScope(); + public static final int ALLOW_VALUE = 1; /** - * - * *
-         * The scope of the check set.
+         * Image is denied.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * - * - * @return The checkSetScope. + * DENY = 2; + */ + public static final int DENY_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static AuditResult valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AuditResult forNumber(int value) { + switch (value) { + case 0: return AUDIT_RESULT_UNSPECIFIED; + case 1: return ALLOW; + case 2: return DENY; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + AuditResult> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AuditResult findValueByNumber(int number) { + return AuditResult.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDescriptor().getEnumTypes().get(1); + } + + private static final AuditResult[] VALUES = values(); + + public static AuditResult valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private AuditResult(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult) + } + + public interface CheckResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+         * The index of the check set.
+         * 
+ * + * string check_set_index = 1; + * @return The checkSetIndex. + */ + java.lang.String getCheckSetIndex(); + /** + *
+         * The index of the check set.
+         * 
+ * + * string check_set_index = 1; + * @return The bytes for checkSetIndex. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - getCheckSetScope(); + com.google.protobuf.ByteString + getCheckSetIndexBytes(); + /** + *
+         * The name of the check set.
+         * 
* + * string check_set_name = 2; + * @return The checkSetName. + */ + java.lang.String getCheckSetName(); + /** + *
+         * The name of the check set.
+         * 
* + * string check_set_name = 2; + * @return The bytes for checkSetName. + */ + com.google.protobuf.ByteString + getCheckSetNameBytes(); + + /** *
          * The scope of the check set.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * @return Whether the checkSetScope field is set. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder - getCheckSetScopeOrBuilder(); - + boolean hasCheckSetScope(); /** + *
+         * The scope of the check set.
+         * 
* + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * @return The checkSetScope. + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getCheckSetScope(); + /** + *
+         * The scope of the check set.
+         * 
* + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder getCheckSetScopeOrBuilder(); + + /** *
          * The index of the check.
          * 
* * string check_index = 4; - * * @return The checkIndex. */ java.lang.String getCheckIndex(); /** - * - * *
          * The index of the check.
          * 
* * string check_index = 4; - * * @return The bytes for checkIndex. */ - com.google.protobuf.ByteString getCheckIndexBytes(); + com.google.protobuf.ByteString + getCheckIndexBytes(); /** - * - * *
          * The name of the check.
          * 
* * string check_name = 5; - * * @return The checkName. */ java.lang.String getCheckName(); /** - * - * *
          * The name of the check.
          * 
* * string check_name = 5; - * * @return The bytes for checkName. */ - com.google.protobuf.ByteString getCheckNameBytes(); + com.google.protobuf.ByteString + getCheckNameBytes(); /** - * - * *
          * The type of the check.
          * 
* * string check_type = 6; - * * @return The checkType. */ java.lang.String getCheckType(); /** - * - * *
          * The type of the check.
          * 
* * string check_type = 6; - * * @return The bytes for checkType. */ - com.google.protobuf.ByteString getCheckTypeBytes(); + com.google.protobuf.ByteString + getCheckTypeBytes(); /** - * - * *
          * The verdict of this check.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @return The enum numeric value on the wire for verdict. */ int getVerdictValue(); /** - * - * *
          * The verdict of this check.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @return The verdict. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - getVerdict(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict getVerdict(); /** - * - * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; - * * @return The explanation. */ java.lang.String getExplanation(); /** - * - * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; - * * @return The bytes for explanation. */ - com.google.protobuf.ByteString getExplanationBytes(); + com.google.protobuf.ByteString + getExplanationBytes(); } /** - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} */ - public static final class CheckResult extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CheckResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) CheckResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckResult.newBuilder() to construct. private CheckResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckResult() { checkSetIndex_ = ""; checkSetName_ = ""; @@ -1137,41 +1091,34 @@ private CheckResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); } /** - * - * *
          * Result of evaluating one check.
          * 
* - * Protobuf enum {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict} + * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict} */ - public enum CheckVerdict implements com.google.protobuf.ProtocolMessageEnum { + public enum CheckVerdict + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
            * We should always have a verdict. This is an error.
            * 
@@ -1180,8 +1127,6 @@ public enum CheckVerdict implements com.google.protobuf.ProtocolMessageEnum { */ CHECK_VERDICT_UNSPECIFIED(0), /** - * - * *
            * The check was successfully evaluated and the image did not satisfy
            * the check.
@@ -1194,8 +1139,6 @@ public enum CheckVerdict implements com.google.protobuf.ProtocolMessageEnum {
           ;
 
           /**
-           *
-           *
            * 
            * We should always have a verdict. This is an error.
            * 
@@ -1204,8 +1147,6 @@ public enum CheckVerdict implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHECK_VERDICT_UNSPECIFIED_VALUE = 0; /** - * - * *
            * The check was successfully evaluated and the image did not satisfy
            * the check.
@@ -1215,6 +1156,7 @@ public enum CheckVerdict implements com.google.protobuf.ProtocolMessageEnum {
            */
           public static final int NON_CONFORMANT_VALUE = 1;
 
+
           public final int getNumber() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalArgumentException(
@@ -1239,12 +1181,9 @@ public static CheckVerdict valueOf(int value) {
            */
           public static CheckVerdict forNumber(int value) {
             switch (value) {
-              case 0:
-                return CHECK_VERDICT_UNSPECIFIED;
-              case 1:
-                return NON_CONFORMANT;
-              default:
-                return null;
+              case 0: return CHECK_VERDICT_UNSPECIFIED;
+              case 1: return NON_CONFORMANT;
+              default: return null;
             }
           }
 
@@ -1252,32 +1191,29 @@ public static CheckVerdict forNumber(int value) {
               internalGetValueMap() {
             return internalValueMap;
           }
+          private static final com.google.protobuf.Internal.EnumLiteMap<
+              CheckVerdict> internalValueMap =
+                new com.google.protobuf.Internal.EnumLiteMap() {
+                  public CheckVerdict findValueByNumber(int number) {
+                    return CheckVerdict.forNumber(number);
+                  }
+                };
 
-          private static final com.google.protobuf.Internal.EnumLiteMap
-              internalValueMap =
-                  new com.google.protobuf.Internal.EnumLiteMap() {
-                    public CheckVerdict findValueByNumber(int number) {
-                      return CheckVerdict.forNumber(number);
-                    }
-                  };
-
-          public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+          public final com.google.protobuf.Descriptors.EnumValueDescriptor
+              getValueDescriptor() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalStateException(
                   "Can't get the descriptor of an unrecognized enum value.");
             }
             return getDescriptor().getValues().get(ordinal());
           }
-
-          public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+          public final com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptorForType() {
             return getDescriptor();
           }
-
-          public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-            return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent
-                .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDescriptor()
-                .getEnumTypes()
-                .get(0);
+          public static final com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptor() {
+            return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDescriptor().getEnumTypes().get(0);
           }
 
           private static final CheckVerdict[] VALUES = values();
@@ -1286,7 +1222,7 @@ public static CheckVerdict valueOf(
               com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
             if (desc.getType() != getDescriptor()) {
               throw new java.lang.IllegalArgumentException(
-                  "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
             }
             if (desc.getIndex() == -1) {
               return UNRECOGNIZED;
@@ -1303,14 +1239,11 @@ private CheckVerdict(int value) {
           // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict)
         }
 
-        public interface CheckSetScopeOrBuilder
-            extends
+        public interface CheckSetScopeOrBuilder extends
             // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)
             com.google.protobuf.MessageOrBuilder {
 
           /**
-           *
-           *
            * 
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1319,13 +1252,10 @@ public interface CheckSetScopeOrBuilder
            * 
* * string kubernetes_service_account = 1; - * * @return Whether the kubernetesServiceAccount field is set. */ boolean hasKubernetesServiceAccount(); /** - * - * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1334,13 +1264,10 @@ public interface CheckSetScopeOrBuilder
            * 
* * string kubernetes_service_account = 1; - * * @return The kubernetesServiceAccount. */ java.lang.String getKubernetesServiceAccount(); /** - * - * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1349,14 +1276,12 @@ public interface CheckSetScopeOrBuilder
            * 
* * string kubernetes_service_account = 1; - * * @return The bytes for kubernetesServiceAccount. */ - com.google.protobuf.ByteString getKubernetesServiceAccountBytes(); + com.google.protobuf.ByteString + getKubernetesServiceAccountBytes(); /** - * - * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1364,13 +1289,10 @@ public interface CheckSetScopeOrBuilder
            * 
* * string kubernetes_namespace = 2; - * * @return Whether the kubernetesNamespace field is set. */ boolean hasKubernetesNamespace(); /** - * - * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1378,13 +1300,10 @@ public interface CheckSetScopeOrBuilder
            * 
* * string kubernetes_namespace = 2; - * * @return The kubernetesNamespace. */ java.lang.String getKubernetesNamespace(); /** - * - * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1392,75 +1311,62 @@ public interface CheckSetScopeOrBuilder
            * 
* * string kubernetes_namespace = 2; - * * @return The bytes for kubernetesNamespace. */ - com.google.protobuf.ByteString getKubernetesNamespaceBytes(); + com.google.protobuf.ByteString + getKubernetesNamespaceBytes(); - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.ScopeCase - getScopeCase(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.ScopeCase getScopeCase(); } /** - * - * *
          * A scope specifier for check sets.
          * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} */ - public static final class CheckSetScope extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CheckSetScope extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) CheckSetScopeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckSetScope.newBuilder() to construct. private CheckSetScope(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CheckSetScope() {} + private CheckSetScope() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckSetScope(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder - .class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder.class); } private int scopeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object scope_; - public enum ScopeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { KUBERNETES_SERVICE_ACCOUNT(1), KUBERNETES_NAMESPACE(2), SCOPE_NOT_SET(0); private final int value; - private ScopeCase(int value) { this.value = value; } @@ -1476,30 +1382,25 @@ public static ScopeCase valueOf(int value) { public static ScopeCase forNumber(int value) { switch (value) { - case 1: - return KUBERNETES_SERVICE_ACCOUNT; - case 2: - return KUBERNETES_NAMESPACE; - case 0: - return SCOPE_NOT_SET; - default: - return null; + case 1: return KUBERNETES_SERVICE_ACCOUNT; + case 2: return KUBERNETES_NAMESPACE; + case 0: return SCOPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ScopeCase getScopeCase() { - return ScopeCase.forNumber(scopeCase_); + public ScopeCase + getScopeCase() { + return ScopeCase.forNumber( + scopeCase_); } public static final int KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER = 1; /** - * - * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1508,15 +1409,12 @@ public ScopeCase getScopeCase() {
            * 
* * string kubernetes_service_account = 1; - * * @return Whether the kubernetesServiceAccount field is set. */ public boolean hasKubernetesServiceAccount() { return scopeCase_ == 1; } /** - * - * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1525,7 +1423,6 @@ public boolean hasKubernetesServiceAccount() {
            * 
* * string kubernetes_service_account = 1; - * * @return The kubernetesServiceAccount. */ public java.lang.String getKubernetesServiceAccount() { @@ -1536,7 +1433,8 @@ public java.lang.String getKubernetesServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 1) { scope_ = s; @@ -1545,8 +1443,6 @@ public java.lang.String getKubernetesServiceAccount() { } } /** - * - * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1555,17 +1451,18 @@ public java.lang.String getKubernetesServiceAccount() {
            * 
* * string kubernetes_service_account = 1; - * * @return The bytes for kubernetesServiceAccount. */ - public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() { + public com.google.protobuf.ByteString + getKubernetesServiceAccountBytes() { java.lang.Object ref = ""; if (scopeCase_ == 1) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 1) { scope_ = b; } @@ -1577,8 +1474,6 @@ public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() { public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER = 2; /** - * - * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1586,15 +1481,12 @@ public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() {
            * 
* * string kubernetes_namespace = 2; - * * @return Whether the kubernetesNamespace field is set. */ public boolean hasKubernetesNamespace() { return scopeCase_ == 2; } /** - * - * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1602,7 +1494,6 @@ public boolean hasKubernetesNamespace() {
            * 
* * string kubernetes_namespace = 2; - * * @return The kubernetesNamespace. */ public java.lang.String getKubernetesNamespace() { @@ -1613,7 +1504,8 @@ public java.lang.String getKubernetesNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 2) { scope_ = s; @@ -1622,8 +1514,6 @@ public java.lang.String getKubernetesNamespace() { } } /** - * - * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1631,17 +1521,18 @@ public java.lang.String getKubernetesNamespace() {
            * 
* * string kubernetes_namespace = 2; - * * @return The bytes for kubernetesNamespace. */ - public com.google.protobuf.ByteString getKubernetesNamespaceBytes() { + public com.google.protobuf.ByteString + getKubernetesNamespaceBytes() { java.lang.Object ref = ""; if (scopeCase_ == 2) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 2) { scope_ = b; } @@ -1652,7 +1543,6 @@ public com.google.protobuf.ByteString getKubernetesNamespaceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1665,7 +1555,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (scopeCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -1695,29 +1585,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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)) { + if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - other = - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) - obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) obj; if (!getScopeCase().equals(other.getScopeCase())) return false; switch (scopeCase_) { case 1: - if (!getKubernetesServiceAccount().equals(other.getKubernetesServiceAccount())) - return false; + if (!getKubernetesServiceAccount() + .equals(other.getKubernetesServiceAccount())) return false; break; case 2: - if (!getKubernetesNamespace().equals(other.getKubernetesNamespace())) return false; + if (!getKubernetesNamespace() + .equals(other.getKubernetesNamespace())) return false; break; case 0: default: @@ -1750,119 +1633,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1872,48 +1726,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
            * A scope specifier for check sets.
            * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1924,27 +1769,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1952,34 +1789,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - result = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - result) { + private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result) { result.scopeCase_ = scopeCase_; result.scope_ = this.scope_; } @@ -1988,80 +1810,62 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) - other); + if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) { + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance()) return this; switch (other.getScopeCase()) { - case KUBERNETES_SERVICE_ACCOUNT: - { - scopeCase_ = 1; - scope_ = other.scope_; - onChanged(); - break; - } - case KUBERNETES_NAMESPACE: - { - scopeCase_ = 2; - scope_ = other.scope_; - onChanged(); - break; - } - case SCOPE_NOT_SET: - { - break; - } + case KUBERNETES_SERVICE_ACCOUNT: { + scopeCase_ = 1; + scope_ = other.scope_; + onChanged(); + break; + } + case KUBERNETES_NAMESPACE: { + scopeCase_ = 2; + scope_ = other.scope_; + onChanged(); + break; + } + case SCOPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2089,27 +1893,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - scopeCase_ = 1; - scope_ = s; - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - scopeCase_ = 2; - scope_ = s; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + scopeCase_ = 1; + scope_ = s; + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + scopeCase_ = 2; + scope_ = s; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2119,12 +1920,12 @@ public Builder mergeFrom( } // finally return this; } - private int scopeCase_ = 0; private java.lang.Object scope_; - - public ScopeCase getScopeCase() { - return ScopeCase.forNumber(scopeCase_); + public ScopeCase + getScopeCase() { + return ScopeCase.forNumber( + scopeCase_); } public Builder clearScope() { @@ -2137,8 +1938,6 @@ public Builder clearScope() { private int bitField0_; /** - * - * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2147,7 +1946,6 @@ public Builder clearScope() {
              * 
* * string kubernetes_service_account = 1; - * * @return Whether the kubernetesServiceAccount field is set. */ @java.lang.Override @@ -2155,8 +1953,6 @@ public boolean hasKubernetesServiceAccount() { return scopeCase_ == 1; } /** - * - * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2165,7 +1961,6 @@ public boolean hasKubernetesServiceAccount() {
              * 
* * string kubernetes_service_account = 1; - * * @return The kubernetesServiceAccount. */ @java.lang.Override @@ -2175,7 +1970,8 @@ public java.lang.String getKubernetesServiceAccount() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 1) { scope_ = s; @@ -2186,8 +1982,6 @@ public java.lang.String getKubernetesServiceAccount() { } } /** - * - * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2196,18 +1990,19 @@ public java.lang.String getKubernetesServiceAccount() {
              * 
* * string kubernetes_service_account = 1; - * * @return The bytes for kubernetesServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() { + public com.google.protobuf.ByteString + getKubernetesServiceAccountBytes() { java.lang.Object ref = ""; if (scopeCase_ == 1) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 1) { scope_ = b; } @@ -2217,8 +2012,6 @@ public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() { } } /** - * - * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2227,22 +2020,18 @@ public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() {
              * 
* * string kubernetes_service_account = 1; - * * @param value The kubernetesServiceAccount to set. * @return This builder for chaining. */ - public Builder setKubernetesServiceAccount(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKubernetesServiceAccount( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scopeCase_ = 1; scope_ = value; onChanged(); return this; } /** - * - * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2251,7 +2040,6 @@ public Builder setKubernetesServiceAccount(java.lang.String value) {
              * 
* * string kubernetes_service_account = 1; - * * @return This builder for chaining. */ public Builder clearKubernetesServiceAccount() { @@ -2263,8 +2051,6 @@ public Builder clearKubernetesServiceAccount() { return this; } /** - * - * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2273,14 +2059,12 @@ public Builder clearKubernetesServiceAccount() {
              * 
* * string kubernetes_service_account = 1; - * * @param value The bytes for kubernetesServiceAccount to set. * @return This builder for chaining. */ - public Builder setKubernetesServiceAccountBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKubernetesServiceAccountBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scopeCase_ = 1; scope_ = value; @@ -2289,8 +2073,6 @@ public Builder setKubernetesServiceAccountBytes(com.google.protobuf.ByteString v } /** - * - * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2298,7 +2080,6 @@ public Builder setKubernetesServiceAccountBytes(com.google.protobuf.ByteString v
              * 
* * string kubernetes_namespace = 2; - * * @return Whether the kubernetesNamespace field is set. */ @java.lang.Override @@ -2306,8 +2087,6 @@ public boolean hasKubernetesNamespace() { return scopeCase_ == 2; } /** - * - * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2315,7 +2094,6 @@ public boolean hasKubernetesNamespace() {
              * 
* * string kubernetes_namespace = 2; - * * @return The kubernetesNamespace. */ @java.lang.Override @@ -2325,7 +2103,8 @@ public java.lang.String getKubernetesNamespace() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 2) { scope_ = s; @@ -2336,8 +2115,6 @@ public java.lang.String getKubernetesNamespace() { } } /** - * - * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2345,18 +2122,19 @@ public java.lang.String getKubernetesNamespace() {
              * 
* * string kubernetes_namespace = 2; - * * @return The bytes for kubernetesNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString getKubernetesNamespaceBytes() { + public com.google.protobuf.ByteString + getKubernetesNamespaceBytes() { java.lang.Object ref = ""; if (scopeCase_ == 2) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (scopeCase_ == 2) { scope_ = b; } @@ -2366,8 +2144,6 @@ public com.google.protobuf.ByteString getKubernetesNamespaceBytes() { } } /** - * - * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2375,22 +2151,18 @@ public com.google.protobuf.ByteString getKubernetesNamespaceBytes() {
              * 
* * string kubernetes_namespace = 2; - * * @param value The kubernetesNamespace to set. * @return This builder for chaining. */ - public Builder setKubernetesNamespace(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKubernetesNamespace( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } scopeCase_ = 2; scope_ = value; onChanged(); return this; } /** - * - * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2398,7 +2170,6 @@ public Builder setKubernetesNamespace(java.lang.String value) {
              * 
* * string kubernetes_namespace = 2; - * * @return This builder for chaining. */ public Builder clearKubernetesNamespace() { @@ -2410,8 +2181,6 @@ public Builder clearKubernetesNamespace() { return this; } /** - * - * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2419,21 +2188,18 @@ public Builder clearKubernetesNamespace() {
              * 
* * string kubernetes_namespace = 2; - * * @param value The bytes for kubernetesNamespace to set. * @return This builder for chaining. */ - public Builder setKubernetesNamespaceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKubernetesNamespaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scopeCase_ = 2; scope_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2446,49 +2212,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) - private static final com.google.cloud.binaryauthorization.v1beta1 - .ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult - .CheckSetScope - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope(); + DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckSetScope parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckSetScope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2500,26 +2258,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CHECK_SET_INDEX_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object checkSetIndex_ = ""; /** - * - * *
          * The index of the check set.
          * 
* * string check_set_index = 1; - * * @return The checkSetIndex. */ @java.lang.Override @@ -2528,29 +2281,29 @@ public java.lang.String getCheckSetIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetIndex_ = s; return s; } } /** - * - * *
          * The index of the check set.
          * 
* * string check_set_index = 1; - * * @return The bytes for checkSetIndex. */ @java.lang.Override - public com.google.protobuf.ByteString getCheckSetIndexBytes() { + public com.google.protobuf.ByteString + getCheckSetIndexBytes() { java.lang.Object ref = checkSetIndex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkSetIndex_ = b; return b; } else { @@ -2559,18 +2312,14 @@ public com.google.protobuf.ByteString getCheckSetIndexBytes() { } public static final int CHECK_SET_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object checkSetName_ = ""; /** - * - * *
          * The name of the check set.
          * 
* * string check_set_name = 2; - * * @return The checkSetName. */ @java.lang.Override @@ -2579,29 +2328,29 @@ public java.lang.String getCheckSetName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetName_ = s; return s; } } /** - * - * *
          * The name of the check set.
          * 
* * string check_set_name = 2; - * * @return The bytes for checkSetName. */ @java.lang.Override - public com.google.protobuf.ByteString getCheckSetNameBytes() { + public com.google.protobuf.ByteString + getCheckSetNameBytes() { java.lang.Object ref = checkSetName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkSetName_ = b; return b; } else { @@ -2610,20 +2359,13 @@ public com.google.protobuf.ByteString getCheckSetNameBytes() { } public static final int CHECK_SET_SCOPE_FIELD_NUMBER = 3; - private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - checkSetScope_; + private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope checkSetScope_; /** - * - * *
          * The scope of the check set.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; * @return Whether the checkSetScope field is set. */ @java.lang.Override @@ -2631,63 +2373,38 @@ public boolean hasCheckSetScope() { return checkSetScope_ != null; } /** - * - * *
          * The scope of the check set.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; * @return The checkSetScope. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - getCheckSetScope() { - return checkSetScope_ == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .getDefaultInstance() - : checkSetScope_; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getCheckSetScope() { + return checkSetScope_ == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; } /** - * - * *
          * The scope of the check set.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder - getCheckSetScopeOrBuilder() { - return checkSetScope_ == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .getDefaultInstance() - : checkSetScope_; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder getCheckSetScopeOrBuilder() { + return checkSetScope_ == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; } public static final int CHECK_INDEX_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object checkIndex_ = ""; /** - * - * *
          * The index of the check.
          * 
* * string check_index = 4; - * * @return The checkIndex. */ @java.lang.Override @@ -2696,29 +2413,29 @@ public java.lang.String getCheckIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkIndex_ = s; return s; } } /** - * - * *
          * The index of the check.
          * 
* * string check_index = 4; - * * @return The bytes for checkIndex. */ @java.lang.Override - public com.google.protobuf.ByteString getCheckIndexBytes() { + public com.google.protobuf.ByteString + getCheckIndexBytes() { java.lang.Object ref = checkIndex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkIndex_ = b; return b; } else { @@ -2727,18 +2444,14 @@ public com.google.protobuf.ByteString getCheckIndexBytes() { } public static final int CHECK_NAME_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object checkName_ = ""; /** - * - * *
          * The name of the check.
          * 
* * string check_name = 5; - * * @return The checkName. */ @java.lang.Override @@ -2747,29 +2460,29 @@ public java.lang.String getCheckName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkName_ = s; return s; } } /** - * - * *
          * The name of the check.
          * 
* * string check_name = 5; - * * @return The bytes for checkName. */ @java.lang.Override - public com.google.protobuf.ByteString getCheckNameBytes() { + public com.google.protobuf.ByteString + getCheckNameBytes() { java.lang.Object ref = checkName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkName_ = b; return b; } else { @@ -2778,18 +2491,14 @@ public com.google.protobuf.ByteString getCheckNameBytes() { } public static final int CHECK_TYPE_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object checkType_ = ""; /** - * - * *
          * The type of the check.
          * 
* * string check_type = 6; - * * @return The checkType. */ @java.lang.Override @@ -2798,29 +2507,29 @@ public java.lang.String getCheckType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkType_ = s; return s; } } /** - * - * *
          * The type of the check.
          * 
* * string check_type = 6; - * * @return The bytes for checkType. */ @java.lang.Override - public com.google.protobuf.ByteString getCheckTypeBytes() { + public com.google.protobuf.ByteString + getCheckTypeBytes() { java.lang.Object ref = checkType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkType_ = b; return b; } else { @@ -2831,64 +2540,38 @@ public com.google.protobuf.ByteString getCheckTypeBytes() { public static final int VERDICT_FIELD_NUMBER = 7; private int verdict_ = 0; /** - * - * *
          * The verdict of this check.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override - public int getVerdictValue() { + @java.lang.Override public int getVerdictValue() { return verdict_; } /** - * - * *
          * The verdict of this check.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @return The verdict. */ - @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - result = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.forNumber( - verdict_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.forNumber(verdict_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED : result; } public static final int EXPLANATION_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object explanation_ = ""; /** - * - * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; - * * @return The explanation. */ @java.lang.Override @@ -2897,29 +2580,29 @@ public java.lang.String getExplanation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); explanation_ = s; return s; } } /** - * - * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; - * * @return The bytes for explanation. */ @java.lang.Override - public com.google.protobuf.ByteString getExplanationBytes() { + public com.google.protobuf.ByteString + getExplanationBytes() { java.lang.Object ref = explanation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); explanation_ = b; return b; } else { @@ -2928,7 +2611,6 @@ public com.google.protobuf.ByteString getExplanationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2941,7 +2623,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkSetIndex_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, checkSetIndex_); } @@ -2960,11 +2642,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, checkType_); } - if (verdict_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - .CHECK_VERDICT_UNSPECIFIED - .getNumber()) { + if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.CHECK_VERDICT_UNSPECIFIED.getNumber()) { output.writeEnum(7, verdict_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(explanation_)) { @@ -2986,7 +2664,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, checkSetName_); } if (checkSetScope_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCheckSetScope()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCheckSetScope()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkIndex_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, checkIndex_); @@ -2997,12 +2676,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, checkType_); } - if (verdict_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - .CHECK_VERDICT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, verdict_); + if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.CHECK_VERDICT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, verdict_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(explanation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, explanation_); @@ -3015,32 +2691,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult)) { + if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - other = - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult) - obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) obj; - if (!getCheckSetIndex().equals(other.getCheckSetIndex())) return false; - if (!getCheckSetName().equals(other.getCheckSetName())) return false; + if (!getCheckSetIndex() + .equals(other.getCheckSetIndex())) return false; + if (!getCheckSetName() + .equals(other.getCheckSetName())) return false; if (hasCheckSetScope() != other.hasCheckSetScope()) return false; if (hasCheckSetScope()) { - if (!getCheckSetScope().equals(other.getCheckSetScope())) return false; - } - if (!getCheckIndex().equals(other.getCheckIndex())) return false; - if (!getCheckName().equals(other.getCheckName())) return false; - if (!getCheckType().equals(other.getCheckType())) return false; + if (!getCheckSetScope() + .equals(other.getCheckSetScope())) return false; + } + if (!getCheckIndex() + .equals(other.getCheckIndex())) return false; + if (!getCheckName() + .equals(other.getCheckName())) return false; + if (!getCheckType() + .equals(other.getCheckType())) return false; if (verdict_ != other.verdict_) return false; - if (!getExplanation().equals(other.getExplanation())) return false; + if (!getExplanation() + .equals(other.getExplanation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3075,119 +2750,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3197,40 +2843,35 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3251,26 +2892,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3278,25 +2912,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - result = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.checkSetIndex_ = checkSetIndex_; @@ -3305,8 +2928,9 @@ private void buildPartial0( result.checkSetName_ = checkSetName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.checkSetScope_ = - checkSetScopeBuilder_ == null ? checkSetScope_ : checkSetScopeBuilder_.build(); + result.checkSetScope_ = checkSetScopeBuilder_ == null + ? checkSetScope_ + : checkSetScopeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.checkIndex_ = checkIndex_; @@ -3329,61 +2953,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult) - other); + if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) { + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()) return this; if (!other.getCheckSetIndex().isEmpty()) { checkSetIndex_ = other.checkSetIndex_; bitField0_ |= 0x00000001; @@ -3446,62 +3055,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - checkSetIndex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - checkSetName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage( - getCheckSetScopeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - checkIndex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - checkName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - checkType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: - { - verdict_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - explanation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + checkSetIndex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + checkSetName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getCheckSetScopeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + checkIndex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + checkName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + checkType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: { + verdict_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + explanation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3511,25 +3112,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object checkSetIndex_ = ""; /** - * - * *
            * The index of the check set.
            * 
* * string check_set_index = 1; - * * @return The checkSetIndex. */ public java.lang.String getCheckSetIndex() { java.lang.Object ref = checkSetIndex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetIndex_ = s; return s; @@ -3538,21 +3136,20 @@ public java.lang.String getCheckSetIndex() { } } /** - * - * *
            * The index of the check set.
            * 
* * string check_set_index = 1; - * * @return The bytes for checkSetIndex. */ - public com.google.protobuf.ByteString getCheckSetIndexBytes() { + public com.google.protobuf.ByteString + getCheckSetIndexBytes() { java.lang.Object ref = checkSetIndex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkSetIndex_ = b; return b; } else { @@ -3560,35 +3157,28 @@ public com.google.protobuf.ByteString getCheckSetIndexBytes() { } } /** - * - * *
            * The index of the check set.
            * 
* * string check_set_index = 1; - * * @param value The checkSetIndex to set. * @return This builder for chaining. */ - public Builder setCheckSetIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckSetIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } checkSetIndex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
            * The index of the check set.
            * 
* * string check_set_index = 1; - * * @return This builder for chaining. */ public Builder clearCheckSetIndex() { @@ -3598,21 +3188,17 @@ public Builder clearCheckSetIndex() { return this; } /** - * - * *
            * The index of the check set.
            * 
* * string check_set_index = 1; - * * @param value The bytes for checkSetIndex to set. * @return This builder for chaining. */ - public Builder setCheckSetIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckSetIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); checkSetIndex_ = value; bitField0_ |= 0x00000001; @@ -3622,20 +3208,18 @@ public Builder setCheckSetIndexBytes(com.google.protobuf.ByteString value) { private java.lang.Object checkSetName_ = ""; /** - * - * *
            * The name of the check set.
            * 
* * string check_set_name = 2; - * * @return The checkSetName. */ public java.lang.String getCheckSetName() { java.lang.Object ref = checkSetName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetName_ = s; return s; @@ -3644,21 +3228,20 @@ public java.lang.String getCheckSetName() { } } /** - * - * *
            * The name of the check set.
            * 
* * string check_set_name = 2; - * * @return The bytes for checkSetName. */ - public com.google.protobuf.ByteString getCheckSetNameBytes() { + public com.google.protobuf.ByteString + getCheckSetNameBytes() { java.lang.Object ref = checkSetName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkSetName_ = b; return b; } else { @@ -3666,35 +3249,28 @@ public com.google.protobuf.ByteString getCheckSetNameBytes() { } } /** - * - * *
            * The name of the check set.
            * 
* * string check_set_name = 2; - * * @param value The checkSetName to set. * @return This builder for chaining. */ - public Builder setCheckSetName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckSetName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } checkSetName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
            * The name of the check set.
            * 
* * string check_set_name = 2; - * * @return This builder for chaining. */ public Builder clearCheckSetName() { @@ -3704,21 +3280,17 @@ public Builder clearCheckSetName() { return this; } /** - * - * *
            * The name of the check set.
            * 
* * string check_set_name = 2; - * * @param value The bytes for checkSetName to set. * @return This builder for chaining. */ - public Builder setCheckSetNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckSetNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); checkSetName_ = value; bitField0_ |= 0x00000002; @@ -3726,74 +3298,43 @@ public Builder setCheckSetNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - checkSetScope_; + private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope checkSetScope_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> - checkSetScopeBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> checkSetScopeBuilder_; /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; * @return Whether the checkSetScope field is set. */ public boolean hasCheckSetScope() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; * @return The checkSetScope. */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - getCheckSetScope() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getCheckSetScope() { if (checkSetScopeBuilder_ == null) { - return checkSetScope_ == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .getDefaultInstance() - : checkSetScope_; + return checkSetScope_ == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; } else { return checkSetScopeBuilder_.getMessage(); } } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ - public Builder setCheckSetScope( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - value) { + public Builder setCheckSetScope(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope value) { if (checkSetScopeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3807,20 +3348,14 @@ public Builder setCheckSetScope( return this; } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ public Builder setCheckSetScope( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder - builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder builderForValue) { if (checkSetScopeBuilder_ == null) { checkSetScope_ = builderForValue.build(); } else { @@ -3831,27 +3366,17 @@ public Builder setCheckSetScope( return this; } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ - public Builder mergeCheckSetScope( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - value) { + public Builder mergeCheckSetScope(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope value) { if (checkSetScopeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && checkSetScope_ != null - && checkSetScope_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + checkSetScope_ != null && + checkSetScope_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance()) { getCheckSetScopeBuilder().mergeFrom(value); } else { checkSetScope_ = value; @@ -3864,15 +3389,11 @@ public Builder mergeCheckSetScope( return this; } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ public Builder clearCheckSetScope() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3885,78 +3406,48 @@ public Builder clearCheckSetScope() { return this; } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder - getCheckSetScopeBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder getCheckSetScopeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCheckSetScopeFieldBuilder().getBuilder(); } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder - getCheckSetScopeOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder getCheckSetScopeOrBuilder() { if (checkSetScopeBuilder_ != null) { return checkSetScopeBuilder_.getMessageOrBuilder(); } else { - return checkSetScope_ == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .getDefaultInstance() - : checkSetScope_; + return checkSetScope_ == null ? + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; } } /** - * - * *
            * The scope of the check set.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> getCheckSetScopeFieldBuilder() { if (checkSetScopeBuilder_ == null) { - checkSetScopeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope - .Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - .CheckSetScopeOrBuilder>( - getCheckSetScope(), getParentForChildren(), isClean()); + checkSetScopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder>( + getCheckSetScope(), + getParentForChildren(), + isClean()); checkSetScope_ = null; } return checkSetScopeBuilder_; @@ -3964,20 +3455,18 @@ public Builder clearCheckSetScope() { private java.lang.Object checkIndex_ = ""; /** - * - * *
            * The index of the check.
            * 
* * string check_index = 4; - * * @return The checkIndex. */ public java.lang.String getCheckIndex() { java.lang.Object ref = checkIndex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkIndex_ = s; return s; @@ -3986,21 +3475,20 @@ public java.lang.String getCheckIndex() { } } /** - * - * *
            * The index of the check.
            * 
* * string check_index = 4; - * * @return The bytes for checkIndex. */ - public com.google.protobuf.ByteString getCheckIndexBytes() { + public com.google.protobuf.ByteString + getCheckIndexBytes() { java.lang.Object ref = checkIndex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkIndex_ = b; return b; } else { @@ -4008,35 +3496,28 @@ public com.google.protobuf.ByteString getCheckIndexBytes() { } } /** - * - * *
            * The index of the check.
            * 
* * string check_index = 4; - * * @param value The checkIndex to set. * @return This builder for chaining. */ - public Builder setCheckIndex(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckIndex( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } checkIndex_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
            * The index of the check.
            * 
* * string check_index = 4; - * * @return This builder for chaining. */ public Builder clearCheckIndex() { @@ -4046,21 +3527,17 @@ public Builder clearCheckIndex() { return this; } /** - * - * *
            * The index of the check.
            * 
* * string check_index = 4; - * * @param value The bytes for checkIndex to set. * @return This builder for chaining. */ - public Builder setCheckIndexBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckIndexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); checkIndex_ = value; bitField0_ |= 0x00000008; @@ -4070,20 +3547,18 @@ public Builder setCheckIndexBytes(com.google.protobuf.ByteString value) { private java.lang.Object checkName_ = ""; /** - * - * *
            * The name of the check.
            * 
* * string check_name = 5; - * * @return The checkName. */ public java.lang.String getCheckName() { java.lang.Object ref = checkName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkName_ = s; return s; @@ -4092,21 +3567,20 @@ public java.lang.String getCheckName() { } } /** - * - * *
            * The name of the check.
            * 
* * string check_name = 5; - * * @return The bytes for checkName. */ - public com.google.protobuf.ByteString getCheckNameBytes() { + public com.google.protobuf.ByteString + getCheckNameBytes() { java.lang.Object ref = checkName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkName_ = b; return b; } else { @@ -4114,35 +3588,28 @@ public com.google.protobuf.ByteString getCheckNameBytes() { } } /** - * - * *
            * The name of the check.
            * 
* * string check_name = 5; - * * @param value The checkName to set. * @return This builder for chaining. */ - public Builder setCheckName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } checkName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
            * The name of the check.
            * 
* * string check_name = 5; - * * @return This builder for chaining. */ public Builder clearCheckName() { @@ -4152,21 +3619,17 @@ public Builder clearCheckName() { return this; } /** - * - * *
            * The name of the check.
            * 
* * string check_name = 5; - * * @param value The bytes for checkName to set. * @return This builder for chaining. */ - public Builder setCheckNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); checkName_ = value; bitField0_ |= 0x00000010; @@ -4176,20 +3639,18 @@ public Builder setCheckNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object checkType_ = ""; /** - * - * *
            * The type of the check.
            * 
* * string check_type = 6; - * * @return The checkType. */ public java.lang.String getCheckType() { java.lang.Object ref = checkType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkType_ = s; return s; @@ -4198,21 +3659,20 @@ public java.lang.String getCheckType() { } } /** - * - * *
            * The type of the check.
            * 
* * string check_type = 6; - * * @return The bytes for checkType. */ - public com.google.protobuf.ByteString getCheckTypeBytes() { + public com.google.protobuf.ByteString + getCheckTypeBytes() { java.lang.Object ref = checkType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); checkType_ = b; return b; } else { @@ -4220,35 +3680,28 @@ public com.google.protobuf.ByteString getCheckTypeBytes() { } } /** - * - * *
            * The type of the check.
            * 
* * string check_type = 6; - * * @param value The checkType to set. * @return This builder for chaining. */ - public Builder setCheckType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckType( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } checkType_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
            * The type of the check.
            * 
* * string check_type = 6; - * * @return This builder for chaining. */ public Builder clearCheckType() { @@ -4258,21 +3711,17 @@ public Builder clearCheckType() { return this; } /** - * - * *
            * The type of the check.
            * 
* * string check_type = 6; - * * @param value The bytes for checkType to set. * @return This builder for chaining. */ - public Builder setCheckTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCheckTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); checkType_ = value; bitField0_ |= 0x00000020; @@ -4282,33 +3731,22 @@ public Builder setCheckTypeBytes(com.google.protobuf.ByteString value) { private int verdict_ = 0; /** - * - * *
            * The verdict of this check.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override - public int getVerdictValue() { + @java.lang.Override public int getVerdictValue() { return verdict_; } /** - * - * *
            * The verdict of this check.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @param value The enum numeric value on the wire for verdict to set. * @return This builder for chaining. */ @@ -4319,51 +3757,28 @@ public Builder setVerdictValue(int value) { return this; } /** - * - * *
            * The verdict of this check.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @return The verdict. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - result = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - .forNumber(verdict_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED - : result; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.forNumber(verdict_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED : result; } /** - * - * *
            * The verdict of this check.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @param value The verdict to set. * @return This builder for chaining. */ - public Builder setVerdict( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict - value) { + public Builder setVerdict(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict value) { if (value == null) { throw new NullPointerException(); } @@ -4373,16 +3788,11 @@ public Builder setVerdict( return this; } /** - * - * *
            * The verdict of this check.
            * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; * @return This builder for chaining. */ public Builder clearVerdict() { @@ -4394,20 +3804,18 @@ public Builder clearVerdict() { private java.lang.Object explanation_ = ""; /** - * - * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; - * * @return The explanation. */ public java.lang.String getExplanation() { java.lang.Object ref = explanation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); explanation_ = s; return s; @@ -4416,21 +3824,20 @@ public java.lang.String getExplanation() { } } /** - * - * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; - * * @return The bytes for explanation. */ - public com.google.protobuf.ByteString getExplanationBytes() { + public com.google.protobuf.ByteString + getExplanationBytes() { java.lang.Object ref = explanation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); explanation_ = b; return b; } else { @@ -4438,35 +3845,28 @@ public com.google.protobuf.ByteString getExplanationBytes() { } } /** - * - * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; - * * @param value The explanation to set. * @return This builder for chaining. */ - public Builder setExplanation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExplanation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } explanation_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; - * * @return This builder for chaining. */ public Builder clearExplanation() { @@ -4476,28 +3876,23 @@ public Builder clearExplanation() { return this; } /** - * - * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; - * * @param value The bytes for explanation to set. * @return This builder for chaining. */ - public Builder setExplanationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setExplanationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); explanation_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4510,48 +3905,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult(); + DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4563,26 +3951,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int IMAGE_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object image_ = ""; /** - * - * *
        * The name of the image.
        * 
* * string image = 1; - * * @return The image. */ @java.lang.Override @@ -4591,29 +3974,29 @@ public java.lang.String getImage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; } } /** - * - * *
        * The name of the image.
        * 
* * string image = 1; - * * @return The bytes for image. */ @java.lang.Override - public com.google.protobuf.ByteString getImageBytes() { + public com.google.protobuf.ByteString + getImageBytes() { java.lang.Object ref = image_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); image_ = b; return b; } else { @@ -4621,97 +4004,145 @@ public com.google.protobuf.ByteString getImageBytes() { } } - public static final int RESULT_FIELD_NUMBER = 2; - private int result_ = 0; + public static final int CONTAINER_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object containerName_ = ""; /** - * - * *
-       * The result of the audit for this image.
+       * The name of the container.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * - * - * @return The enum numeric value on the wire for result. + * string container_name = 5; + * @return The containerName. */ @java.lang.Override - public int getResultValue() { - return result_; + public java.lang.String getContainerName() { + java.lang.Object ref = containerName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + containerName_ = s; + return s; + } } /** - * - * *
-       * The result of the audit for this image.
+       * The name of the container.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * - * - * @return The result. + * string container_name = 5; + * @return The bytes for containerName. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult - getResult() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult - result = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED - : result; + public com.google.protobuf.ByteString + getContainerNameBytes() { + java.lang.Object ref = containerName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + containerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int DESCRIPTION_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private volatile java.lang.Object description_ = ""; + public static final int CONTAINER_TYPE_FIELD_NUMBER = 6; + private int containerType_ = 0; /** - * - * *
-       * Description of the above result.
+       * The container type that this image belongs to.
        * 
* - * string description = 3; + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @return The enum numeric value on the wire for containerType. + */ + @java.lang.Override public int getContainerTypeValue() { + return containerType_; + } + /** + *
+       * The container type that this image belongs to.
+       * 
* - * @return The description. + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @return The containerType. */ - @java.lang.Override + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType getContainerType() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.forNumber(containerType_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.UNRECOGNIZED : result; + } + + public static final int RESULT_FIELD_NUMBER = 2; + private int result_ = 0; + /** + *
+       * The result of the audit for this image.
+       * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * @return The enum numeric value on the wire for result. + */ + @java.lang.Override public int getResultValue() { + return result_; + } + /** + *
+       * The result of the audit for this image.
+       * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * @return The result. + */ + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult getResult() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED : result; + } + + public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object description_ = ""; + /** + *
+       * Description of the above result.
+       * 
+ * + * string description = 3; + * @return The description. + */ + @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
        * Description of the above result.
        * 
* * 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 { @@ -4720,101 +4151,67 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int CHECK_RESULTS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult> - checkResults_; + private java.util.List checkResults_; /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ @java.lang.Override - public java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult> - getCheckResultsList() { + public java.util.List getCheckResultsList() { return checkResults_; } /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> + public java.util.List getCheckResultsOrBuilderList() { return checkResults_; } /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ @java.lang.Override public int getCheckResultsCount() { return checkResults_.size(); } /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - getCheckResults(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getCheckResults(int index) { return checkResults_.get(index); } /** - * - * *
        * List of check results.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder - getCheckResultsOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder getCheckResultsOrBuilder( + int index) { return checkResults_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4826,14 +4223,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_); } - if (result_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED - .getNumber()) { + if (result_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED.getNumber()) { output.writeEnum(2, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { @@ -4842,6 +4237,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < checkResults_.size(); i++) { output.writeMessage(4, checkResults_.get(i)); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, containerName_); + } + if (containerType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.CONTAINER_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(6, containerType_); + } getUnknownFields().writeTo(output); } @@ -4854,17 +4255,23 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, image_); } - if (result_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, result_); + if (result_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < checkResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, checkResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, checkResults_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, containerName_); + } + if (containerType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.CONTAINER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, containerType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4874,25 +4281,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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails)) { + if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - other = - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails) - obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) obj; - if (!getImage().equals(other.getImage())) return false; + if (!getImage() + .equals(other.getImage())) return false; + if (!getContainerName() + .equals(other.getContainerName())) return false; + if (containerType_ != other.containerType_) return false; if (result_ != other.result_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getCheckResultsList().equals(other.getCheckResultsList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getCheckResultsList() + .equals(other.getCheckResultsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4906,6 +4311,10 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + IMAGE_FIELD_NUMBER; hash = (53 * hash) + getImage().hashCode(); + hash = (37 * hash) + CONTAINER_NAME_FIELD_NUMBER; + hash = (53 * hash) + getContainerName().hashCode(); + hash = (37 * hash) + CONTAINER_TYPE_FIELD_NUMBER; + hash = (53 * hash) + containerType_; hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + result_; hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; @@ -4919,117 +4328,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5039,51 +4421,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Container image with auditing details.
        * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; image_ = ""; + containerName_ = ""; + containerType_ = 0; result_ = 0; description_ = ""; if (checkResultsBuilder_ == null) { @@ -5092,31 +4469,24 @@ public Builder clear() { checkResults_ = null; checkResultsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5124,30 +4494,19 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - result = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails(this); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - result) { + private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result) { if (checkResultsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { checkResults_ = java.util.Collections.unmodifiableList(checkResults_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); } result.checkResults_ = checkResults_; } else { @@ -5155,18 +4514,21 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.image_ = image_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.result_ = result_; + result.containerName_ = containerName_; } if (((from_bitField0_ & 0x00000004) != 0)) { + result.containerType_ = containerType_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.result_ = result_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { result.description_ = description_; } } @@ -5175,78 +4537,72 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails) - other); + if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) { + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()) return this; if (!other.getImage().isEmpty()) { image_ = other.image_; bitField0_ |= 0x00000001; onChanged(); } + if (!other.getContainerName().isEmpty()) { + containerName_ = other.containerName_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.containerType_ != 0) { + setContainerTypeValue(other.getContainerTypeValue()); + } if (other.result_ != 0) { setResultValue(other.getResultValue()); } if (!other.getDescription().isEmpty()) { description_ = other.description_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); } if (checkResultsBuilder_ == null) { if (!other.checkResults_.isEmpty()) { if (checkResults_.isEmpty()) { checkResults_ = other.checkResults_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); } else { ensureCheckResultsIsMutable(); checkResults_.addAll(other.checkResults_); @@ -5259,11 +4615,10 @@ public Builder mergeFrom( checkResultsBuilder_.dispose(); checkResultsBuilder_ = null; checkResults_ = other.checkResults_; - bitField0_ = (bitField0_ & ~0x00000008); - checkResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCheckResultsFieldBuilder() - : null; + bitField0_ = (bitField0_ & ~0x00000020); + checkResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCheckResultsFieldBuilder() : null; } else { checkResultsBuilder_.addAllMessages(other.checkResults_); } @@ -5295,49 +4650,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - image_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - result_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1 - .ContinuousValidationEvent.ContinuousValidationPodEvent - .ImageDetails.CheckResult.parser(), - extensionRegistry); - if (checkResultsBuilder_ == null) { - ensureCheckResultsIsMutable(); - checkResults_.add(m); - } else { - checkResultsBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + image_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + result_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 16 + case 26: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.parser(), + extensionRegistry); + if (checkResultsBuilder_ == null) { + ensureCheckResultsIsMutable(); + checkResults_.add(m); + } else { + checkResultsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + containerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 48: { + containerType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5347,25 +4703,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object image_ = ""; /** - * - * *
          * The name of the image.
          * 
* * string image = 1; - * * @return The image. */ public java.lang.String getImage() { java.lang.Object ref = image_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; @@ -5374,21 +4727,20 @@ public java.lang.String getImage() { } } /** - * - * *
          * The name of the image.
          * 
* * string image = 1; - * * @return The bytes for image. */ - public com.google.protobuf.ByteString getImageBytes() { + public com.google.protobuf.ByteString + getImageBytes() { java.lang.Object ref = image_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); image_ = b; return b; } else { @@ -5396,35 +4748,28 @@ public com.google.protobuf.ByteString getImageBytes() { } } /** - * - * *
          * The name of the image.
          * 
* * string image = 1; - * * @param value The image to set. * @return This builder for chaining. */ - public Builder setImage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImage( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } image_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
          * The name of the image.
          * 
* * string image = 1; - * * @return This builder for chaining. */ public Builder clearImage() { @@ -5434,21 +4779,17 @@ public Builder clearImage() { return this; } /** - * - * *
          * The name of the image.
          * 
* * string image = 1; - * * @param value The bytes for image to set. * @return This builder for chaining. */ - public Builder setImageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setImageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); image_ = value; bitField0_ |= 0x00000001; @@ -5456,112 +4797,239 @@ public Builder setImageBytes(com.google.protobuf.ByteString value) { return this; } - private int result_ = 0; + private java.lang.Object containerName_ = ""; /** + *
+         * The name of the container.
+         * 
* + * string container_name = 5; + * @return The containerName. + */ + public java.lang.String getContainerName() { + java.lang.Object ref = containerName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + containerName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * The name of the container.
+         * 
* + * string container_name = 5; + * @return The bytes for containerName. + */ + public com.google.protobuf.ByteString + getContainerNameBytes() { + java.lang.Object ref = containerName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + containerName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** *
-         * The result of the audit for this image.
+         * The name of the container.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * + * string container_name = 5; + * @param value The containerName to set. + * @return This builder for chaining. + */ + public Builder setContainerName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + containerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+         * The name of the container.
+         * 
* - * @return The enum numeric value on the wire for result. + * string container_name = 5; + * @return This builder for chaining. + */ + public Builder clearContainerName() { + containerName_ = getDefaultInstance().getContainerName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+         * The name of the container.
+         * 
+ * + * string container_name = 5; + * @param value The bytes for containerName to set. + * @return This builder for chaining. + */ + public Builder setContainerNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + containerName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int containerType_ = 0; + /** + *
+         * The container type that this image belongs to.
+         * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @return The enum numeric value on the wire for containerType. + */ + @java.lang.Override public int getContainerTypeValue() { + return containerType_; + } + /** + *
+         * The container type that this image belongs to.
+         * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @param value The enum numeric value on the wire for containerType to set. + * @return This builder for chaining. + */ + public Builder setContainerTypeValue(int value) { + containerType_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+         * The container type that this image belongs to.
+         * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @return The containerType. */ @java.lang.Override - public int getResultValue() { - return result_; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType getContainerType() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.forNumber(containerType_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.UNRECOGNIZED : result; } /** + *
+         * The container type that this image belongs to.
+         * 
* + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @param value The containerType to set. + * @return This builder for chaining. + */ + public Builder setContainerType(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + containerType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+         * The container type that this image belongs to.
+         * 
* + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * @return This builder for chaining. + */ + public Builder clearContainerType() { + bitField0_ = (bitField0_ & ~0x00000004); + containerType_ = 0; + onChanged(); + return this; + } + + private int result_ = 0; + /** *
          * The result of the audit for this image.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * @return The enum numeric value on the wire for result. + */ + @java.lang.Override public int getResultValue() { + return result_; + } + /** + *
+         * The result of the audit for this image.
+         * 
* + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ public Builder setResultValue(int value) { result_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
          * The result of the audit for this image.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; * @return The result. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult - getResult() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult - result = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED - : result; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult getResult() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED : result; } /** - * - * *
          * The result of the audit for this image.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.AuditResult - value) { + public Builder setResult(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000008; result_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * The result of the audit for this image.
          * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; * @return This builder for chaining. */ public Builder clearResult() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000008); result_ = 0; onChanged(); return this; @@ -5569,20 +5037,18 @@ public Builder clearResult() { private java.lang.Object description_ = ""; /** - * - * *
          * Description of the above result.
          * 
* * 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; @@ -5591,21 +5057,20 @@ public java.lang.String getDescription() { } } /** - * - * *
          * Description of the above result.
          * 
* * 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 { @@ -5613,105 +5078,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
          * Description of the above result.
          * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
          * Description of the above result.
          * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** - * - * *
          * Description of the above result.
          * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } - private java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult> - checkResults_ = java.util.Collections.emptyList(); - + private java.util.List checkResults_ = + java.util.Collections.emptyList(); private void ensureCheckResultsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - checkResults_ = - new java.util.ArrayList< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult>(checkResults_); - bitField0_ |= 0x00000008; - } + if (!((bitField0_ & 0x00000020) != 0)) { + checkResults_ = new java.util.ArrayList(checkResults_); + bitField0_ |= 0x00000020; + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> - checkResultsBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> checkResultsBuilder_; /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult> - getCheckResultsList() { + public java.util.List getCheckResultsList() { if (checkResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(checkResults_); } else { @@ -5719,15 +5154,11 @@ private void ensureCheckResultsIsMutable() { } } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public int getCheckResultsCount() { if (checkResultsBuilder_ == null) { @@ -5737,19 +5168,13 @@ public int getCheckResultsCount() { } } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - getCheckResults(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getCheckResults(int index) { if (checkResultsBuilder_ == null) { return checkResults_.get(index); } else { @@ -5757,21 +5182,14 @@ public int getCheckResultsCount() { } } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder setCheckResults( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - value) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult value) { if (checkResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5785,21 +5203,14 @@ public Builder setCheckResults( return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder setCheckResults( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder - builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder builderForValue) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); checkResults_.set(index, builderForValue.build()); @@ -5810,20 +5221,13 @@ public Builder setCheckResults( return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public Builder addCheckResults( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - value) { + public Builder addCheckResults(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult value) { if (checkResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5837,21 +5241,14 @@ public Builder addCheckResults( return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder addCheckResults( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult - value) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult value) { if (checkResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5865,20 +5262,14 @@ public Builder addCheckResults( return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder addCheckResults( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder - builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder builderForValue) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); checkResults_.add(builderForValue.build()); @@ -5889,21 +5280,14 @@ public Builder addCheckResults( return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder addCheckResults( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder - builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder builderForValue) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); checkResults_.add(index, builderForValue.build()); @@ -5914,25 +5298,18 @@ public Builder addCheckResults( return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder addAllCheckResults( - java.lang.Iterable< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult> - values) { + java.lang.Iterable values) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, checkResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, checkResults_); onChanged(); } else { checkResultsBuilder_.addAllMessages(values); @@ -5940,20 +5317,16 @@ public Builder addAllCheckResults( return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder clearCheckResults() { if (checkResultsBuilder_ == null) { checkResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { checkResultsBuilder_.clear(); @@ -5961,15 +5334,11 @@ public Builder clearCheckResults() { return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ public Builder removeCheckResults(int index) { if (checkResultsBuilder_ == null) { @@ -5982,57 +5351,39 @@ public Builder removeCheckResults(int index) { return this; } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder - getCheckResultsBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder getCheckResultsBuilder( + int index) { return getCheckResultsFieldBuilder().getBuilder(index); } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder - getCheckResultsOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder getCheckResultsOrBuilder( + int index) { if (checkResultsBuilder_ == null) { - return checkResults_.get(index); - } else { + return checkResults_.get(index); } else { return checkResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public java.util.List< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> - getCheckResultsOrBuilderList() { + public java.util.List + getCheckResultsOrBuilderList() { if (checkResultsBuilder_ != null) { return checkResultsBuilder_.getMessageOrBuilderList(); } else { @@ -6040,88 +5391,53 @@ public Builder removeCheckResults(int index) { } } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder - addCheckResultsBuilder() { - return getCheckResultsFieldBuilder() - .addBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder addCheckResultsBuilder() { + return getCheckResultsFieldBuilder().addBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder - addCheckResultsBuilder(int index) { - return getCheckResultsFieldBuilder() - .addBuilder( - index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder addCheckResultsBuilder( + int index) { + return getCheckResultsFieldBuilder().addBuilder( + index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); } /** - * - * *
          * List of check results.
          * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; */ - public java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder> - getCheckResultsBuilderList() { + public java.util.List + getCheckResultsBuilderList() { return getCheckResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> getCheckResultsFieldBuilder() { if (checkResultsBuilder_ == null) { - checkResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder>( + checkResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder>( checkResults_, - ((bitField0_ & 0x00000008) != 0), + ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); checkResults_ = null; } return checkResultsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6134,48 +5450,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails(); + DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6187,26 +5496,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int POD_NAMESPACE_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object podNamespace_ = ""; /** - * - * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; - * * @return The podNamespace. */ @java.lang.Override @@ -6215,29 +5519,29 @@ public java.lang.String getPodNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podNamespace_ = s; return s; } } /** - * - * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; - * * @return The bytes for podNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString getPodNamespaceBytes() { + public com.google.protobuf.ByteString + getPodNamespaceBytes() { java.lang.Object ref = podNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podNamespace_ = b; return b; } else { @@ -6246,18 +5550,14 @@ public com.google.protobuf.ByteString getPodNamespaceBytes() { } public static final int POD_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object pod_ = ""; /** - * - * *
      * The name of the Pod.
      * 
* * string pod = 1; - * * @return The pod. */ @java.lang.Override @@ -6266,29 +5566,29 @@ public java.lang.String getPod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pod_ = s; return s; } } /** - * - * *
      * The name of the Pod.
      * 
* * string pod = 1; - * * @return The bytes for pod. */ @java.lang.Override - public com.google.protobuf.ByteString getPodBytes() { + public com.google.protobuf.ByteString + getPodBytes() { java.lang.Object ref = pod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pod_ = b; return b; } else { @@ -6297,18 +5597,14 @@ public com.google.protobuf.ByteString getPodBytes() { } public static final int POLICY_NAME_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object policyName_ = ""; /** - * - * *
      * The name of the policy.
      * 
* * string policy_name = 8; - * * @return The policyName. */ @java.lang.Override @@ -6317,29 +5613,29 @@ public java.lang.String getPolicyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyName_ = s; return s; } } /** - * - * *
      * The name of the policy.
      * 
* * string policy_name = 8; - * * @return The bytes for policyName. */ @java.lang.Override - public com.google.protobuf.ByteString getPolicyNameBytes() { + public com.google.protobuf.ByteString + getPolicyNameBytes() { java.lang.Object ref = policyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policyName_ = b; return b; } else { @@ -6350,14 +5646,11 @@ public com.google.protobuf.ByteString getPolicyNameBytes() { public static final int DEPLOY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp deployTime_; /** - * - * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; - * * @return Whether the deployTime field is set. */ @java.lang.Override @@ -6365,14 +5658,11 @@ public boolean hasDeployTime() { return deployTime_ != null; } /** - * - * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; - * * @return The deployTime. */ @java.lang.Override @@ -6380,8 +5670,6 @@ public com.google.protobuf.Timestamp getDeployTime() { return deployTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployTime_; } /** - * - * *
      * Deploy time of the Pod from k8s.
      * 
@@ -6396,14 +5684,11 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -6411,14 +5696,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -6426,8 +5708,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
@@ -6442,146 +5722,91 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int VERDICT_FIELD_NUMBER = 4; private int verdict_ = 0; /** - * - * *
      * Auditing verdict for this Pod.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override - public int getVerdictValue() { + @java.lang.Override public int getVerdictValue() { return verdict_; } /** - * - * *
      * Auditing verdict for this Pod.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @return The verdict. */ - @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - result = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED : result; } public static final int IMAGES_FIELD_NUMBER = 5; - @SuppressWarnings("serial") - private java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails> - images_; + private java.util.List images_; /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ @java.lang.Override - public java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails> - getImagesList() { + public java.util.List getImagesList() { return images_; } /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder> + public java.util.List getImagesOrBuilderList() { return images_; } /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ @java.lang.Override public int getImagesCount() { return images_.size(); } /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - getImages(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getImages(int index) { return images_.get(index); } /** - * - * *
      * List of images with auditing details.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder - getImagesOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder getImagesOrBuilder( + int index) { return images_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6593,7 +5818,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pod_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pod_); } @@ -6603,11 +5829,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (endTime_ != null) { output.writeMessage(3, getEndTime()); } - if (verdict_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - .POLICY_CONFORMANCE_VERDICT_UNSPECIFIED - .getNumber()) { + if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.POLICY_CONFORMANCE_VERDICT_UNSPECIFIED.getNumber()) { output.writeEnum(4, verdict_); } for (int i = 0; i < images_.size(); i++) { @@ -6632,20 +5854,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pod_); } if (deployTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeployTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDeployTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } - if (verdict_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - .POLICY_CONFORMANCE_VERDICT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, verdict_); + if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.POLICY_CONFORMANCE_VERDICT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, verdict_); } for (int i = 0; i < images_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, images_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, images_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podNamespace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, podNamespace_); @@ -6661,34 +5883,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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent)) { + if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - other = - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) obj; - if (!getPodNamespace().equals(other.getPodNamespace())) return false; - if (!getPod().equals(other.getPod())) return false; - if (!getPolicyName().equals(other.getPolicyName())) return false; + if (!getPodNamespace() + .equals(other.getPodNamespace())) return false; + if (!getPod() + .equals(other.getPod())) return false; + if (!getPolicyName() + .equals(other.getPolicyName())) return false; if (hasDeployTime() != other.hasDeployTime()) return false; if (hasDeployTime()) { - if (!getDeployTime().equals(other.getDeployTime())) return false; + if (!getDeployTime() + .equals(other.getDeployTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (verdict_ != other.verdict_) return false; - if (!getImagesList().equals(other.getImagesList())) return false; + if (!getImagesList() + .equals(other.getImagesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6725,115 +5945,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6843,46 +6038,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An auditing event for one Pod.
      * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -6912,26 +6100,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6939,26 +6120,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - result = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent(this); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - result) { + private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result) { if (imagesBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { images_ = java.util.Collections.unmodifiableList(images_); @@ -6970,10 +6140,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.podNamespace_ = podNamespace_; @@ -6985,11 +6152,14 @@ private void buildPartial0( result.policyName_ = policyName_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.deployTime_ = - deployTimeBuilder_ == null ? deployTime_ : deployTimeBuilder_.build(); + result.deployTime_ = deployTimeBuilder_ == null + ? deployTime_ + : deployTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.verdict_ = verdict_; @@ -7000,60 +6170,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - other); + if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) { + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance()) return this; if (!other.getPodNamespace().isEmpty()) { podNamespace_ = other.podNamespace_; bitField0_ |= 0x00000001; @@ -7096,10 +6252,9 @@ public Builder mergeFrom( imagesBuilder_ = null; images_ = other.images_; bitField0_ = (bitField0_ & ~0x00000040); - imagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getImagesFieldBuilder() - : null; + imagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getImagesFieldBuilder() : null; } else { imagesBuilder_.addAllMessages(other.images_); } @@ -7131,66 +6286,59 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - pod_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: - { - input.readMessage(getDeployTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 32: - { - verdict_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 32 - case 42: - { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.parser(), - extensionRegistry); - if (imagesBuilder_ == null) { - ensureImagesIsMutable(); - images_.add(m); - } else { - imagesBuilder_.addMessage(m); - } - break; - } // case 42 - case 58: - { - podNamespace_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 58 - case 66: - { - policyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + pod_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: { + input.readMessage( + getDeployTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 32: { + verdict_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 32 + case 42: { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.parser(), + extensionRegistry); + if (imagesBuilder_ == null) { + ensureImagesIsMutable(); + images_.add(m); + } else { + imagesBuilder_.addMessage(m); + } + break; + } // case 42 + case 58: { + podNamespace_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 58 + case 66: { + policyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7200,25 +6348,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object podNamespace_ = ""; /** - * - * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; - * * @return The podNamespace. */ public java.lang.String getPodNamespace() { java.lang.Object ref = podNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podNamespace_ = s; return s; @@ -7227,21 +6372,20 @@ public java.lang.String getPodNamespace() { } } /** - * - * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; - * * @return The bytes for podNamespace. */ - public com.google.protobuf.ByteString getPodNamespaceBytes() { + public com.google.protobuf.ByteString + getPodNamespaceBytes() { java.lang.Object ref = podNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podNamespace_ = b; return b; } else { @@ -7249,35 +6393,28 @@ public com.google.protobuf.ByteString getPodNamespaceBytes() { } } /** - * - * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; - * * @param value The podNamespace to set. * @return This builder for chaining. */ - public Builder setPodNamespace(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPodNamespace( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } podNamespace_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; - * * @return This builder for chaining. */ public Builder clearPodNamespace() { @@ -7287,21 +6424,17 @@ public Builder clearPodNamespace() { return this; } /** - * - * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; - * * @param value The bytes for podNamespace to set. * @return This builder for chaining. */ - public Builder setPodNamespaceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPodNamespaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); podNamespace_ = value; bitField0_ |= 0x00000001; @@ -7311,20 +6444,18 @@ public Builder setPodNamespaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object pod_ = ""; /** - * - * *
        * The name of the Pod.
        * 
* * string pod = 1; - * * @return The pod. */ public java.lang.String getPod() { java.lang.Object ref = pod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pod_ = s; return s; @@ -7333,21 +6464,20 @@ public java.lang.String getPod() { } } /** - * - * *
        * The name of the Pod.
        * 
* * string pod = 1; - * * @return The bytes for pod. */ - public com.google.protobuf.ByteString getPodBytes() { + public com.google.protobuf.ByteString + getPodBytes() { java.lang.Object ref = pod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pod_ = b; return b; } else { @@ -7355,35 +6485,28 @@ public com.google.protobuf.ByteString getPodBytes() { } } /** - * - * *
        * The name of the Pod.
        * 
* * string pod = 1; - * * @param value The pod to set. * @return This builder for chaining. */ - public Builder setPod(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPod( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pod_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The name of the Pod.
        * 
* * string pod = 1; - * * @return This builder for chaining. */ public Builder clearPod() { @@ -7393,21 +6516,17 @@ public Builder clearPod() { return this; } /** - * - * *
        * The name of the Pod.
        * 
* * string pod = 1; - * * @param value The bytes for pod to set. * @return This builder for chaining. */ - public Builder setPodBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPodBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pod_ = value; bitField0_ |= 0x00000002; @@ -7417,20 +6536,18 @@ public Builder setPodBytes(com.google.protobuf.ByteString value) { private java.lang.Object policyName_ = ""; /** - * - * *
        * The name of the policy.
        * 
* * string policy_name = 8; - * * @return The policyName. */ public java.lang.String getPolicyName() { java.lang.Object ref = policyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyName_ = s; return s; @@ -7439,21 +6556,20 @@ public java.lang.String getPolicyName() { } } /** - * - * *
        * The name of the policy.
        * 
* * string policy_name = 8; - * * @return The bytes for policyName. */ - public com.google.protobuf.ByteString getPolicyNameBytes() { + public com.google.protobuf.ByteString + getPolicyNameBytes() { java.lang.Object ref = policyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); policyName_ = b; return b; } else { @@ -7461,35 +6577,28 @@ public com.google.protobuf.ByteString getPolicyNameBytes() { } } /** - * - * *
        * The name of the policy.
        * 
* * string policy_name = 8; - * * @param value The policyName to set. * @return This builder for chaining. */ - public Builder setPolicyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } policyName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The name of the policy.
        * 
* * string policy_name = 8; - * * @return This builder for chaining. */ public Builder clearPolicyName() { @@ -7499,21 +6608,17 @@ public Builder clearPolicyName() { return this; } /** - * - * *
        * The name of the policy.
        * 
* * string policy_name = 8; - * * @param value The bytes for policyName to set. * @return This builder for chaining. */ - public Builder setPolicyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPolicyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); policyName_ = value; bitField0_ |= 0x00000004; @@ -7523,47 +6628,34 @@ public Builder setPolicyNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp deployTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deployTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deployTimeBuilder_; /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
* * .google.protobuf.Timestamp deploy_time = 2; - * * @return Whether the deployTime field is set. */ public boolean hasDeployTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
* * .google.protobuf.Timestamp deploy_time = 2; - * * @return The deployTime. */ public com.google.protobuf.Timestamp getDeployTime() { if (deployTimeBuilder_ == null) { - return deployTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deployTime_; + return deployTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployTime_; } else { return deployTimeBuilder_.getMessage(); } } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
@@ -7584,15 +6676,14 @@ public Builder setDeployTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
* * .google.protobuf.Timestamp deploy_time = 2; */ - public Builder setDeployTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeployTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deployTimeBuilder_ == null) { deployTime_ = builderForValue.build(); } else { @@ -7603,8 +6694,6 @@ public Builder setDeployTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
@@ -7613,9 +6702,9 @@ public Builder setDeployTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeDeployTime(com.google.protobuf.Timestamp value) { if (deployTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && deployTime_ != null - && deployTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + deployTime_ != null && + deployTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeployTimeBuilder().mergeFrom(value); } else { deployTime_ = value; @@ -7628,8 +6717,6 @@ public Builder mergeDeployTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
@@ -7647,8 +6734,6 @@ public Builder clearDeployTime() { return this; } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
@@ -7661,8 +6746,6 @@ public com.google.protobuf.Timestamp.Builder getDeployTimeBuilder() { return getDeployTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
@@ -7673,14 +6756,11 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { if (deployTimeBuilder_ != null) { return deployTimeBuilder_.getMessageOrBuilder(); } else { - return deployTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deployTime_; + return deployTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deployTime_; } } /** - * - * *
        * Deploy time of the Pod from k8s.
        * 
@@ -7688,17 +6768,14 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { * .google.protobuf.Timestamp deploy_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> getDeployTimeFieldBuilder() { if (deployTimeBuilder_ == null) { - deployTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeployTime(), getParentForChildren(), isClean()); + deployTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeployTime(), + getParentForChildren(), + isClean()); deployTime_ = null; } return deployTimeBuilder_; @@ -7706,33 +6783,24 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { 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_; /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -7743,8 +6811,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -7765,15 +6831,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -7784,8 +6849,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -7794,9 +6857,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -7809,8 +6872,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -7828,8 +6889,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -7842,8 +6901,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -7854,12 +6911,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_; } } /** - * - * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -7867,17 +6923,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ 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_; @@ -7885,33 +6938,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int verdict_ = 0; /** - * - * *
        * Auditing verdict for this Pod.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override - public int getVerdictValue() { + @java.lang.Override public int getVerdictValue() { return verdict_; } /** - * - * *
        * Auditing verdict for this Pod.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @param value The enum numeric value on the wire for verdict to set. * @return This builder for chaining. */ @@ -7922,50 +6964,28 @@ public Builder setVerdictValue(int value) { return this; } /** - * - * *
        * Auditing verdict for this Pod.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @return The verdict. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - result = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED - : result; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED : result; } /** - * - * *
        * Auditing verdict for this Pod.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @param value The verdict to set. * @return This builder for chaining. */ - public Builder setVerdict( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.PolicyConformanceVerdict - value) { + public Builder setVerdict(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict value) { if (value == null) { throw new NullPointerException(); } @@ -7975,16 +6995,11 @@ public Builder setVerdict( return this; } /** - * - * *
        * Auditing verdict for this Pod.
        * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; * @return This builder for chaining. */ public Builder clearVerdict() { @@ -7994,45 +7009,26 @@ public Builder clearVerdict() { return this; } - private java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails> - images_ = java.util.Collections.emptyList(); - + private java.util.List images_ = + java.util.Collections.emptyList(); private void ensureImagesIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - images_ = - new java.util.ArrayList< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails>(images_); + images_ = new java.util.ArrayList(images_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder> - imagesBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder> imagesBuilder_; /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails> - getImagesList() { + public java.util.List getImagesList() { if (imagesBuilder_ == null) { return java.util.Collections.unmodifiableList(images_); } else { @@ -8040,15 +7036,11 @@ private void ensureImagesIsMutable() { } } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public int getImagesCount() { if (imagesBuilder_ == null) { @@ -8058,19 +7050,13 @@ public int getImagesCount() { } } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - getImages(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getImages(int index) { if (imagesBuilder_ == null) { return images_.get(index); } else { @@ -8078,21 +7064,14 @@ public int getImagesCount() { } } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder setImages( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - value) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails value) { if (imagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8106,21 +7085,14 @@ public Builder setImages( return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder setImages( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder - builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder builderForValue) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); images_.set(index, builderForValue.build()); @@ -8131,20 +7103,13 @@ public Builder setImages( return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public Builder addImages( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - value) { + public Builder addImages(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails value) { if (imagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8158,21 +7123,14 @@ public Builder addImages( return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder addImages( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails - value) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails value) { if (imagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8186,20 +7144,14 @@ public Builder addImages( return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder addImages( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder - builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder builderForValue) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); images_.add(builderForValue.build()); @@ -8210,21 +7162,14 @@ public Builder addImages( return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder addImages( - int index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder - builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder builderForValue) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); images_.add(index, builderForValue.build()); @@ -8235,25 +7180,18 @@ public Builder addImages( return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder addAllImages( - java.lang.Iterable< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails> - values) { + java.lang.Iterable values) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, images_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, images_); onChanged(); } else { imagesBuilder_.addAllMessages(values); @@ -8261,15 +7199,11 @@ public Builder addAllImages( return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder clearImages() { if (imagesBuilder_ == null) { @@ -8282,15 +7216,11 @@ public Builder clearImages() { return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ public Builder removeImages(int index) { if (imagesBuilder_ == null) { @@ -8303,57 +7233,39 @@ public Builder removeImages(int index) { return this; } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder - getImagesBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder getImagesBuilder( + int index) { return getImagesFieldBuilder().getBuilder(index); } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder - getImagesOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder getImagesOrBuilder( + int index) { if (imagesBuilder_ == null) { - return images_.get(index); - } else { + return images_.get(index); } else { return imagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public java.util.List< - ? extends - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder> - getImagesOrBuilderList() { + public java.util.List + getImagesOrBuilderList() { if (imagesBuilder_ != null) { return imagesBuilder_.getMessageOrBuilderList(); } else { @@ -8361,85 +7273,53 @@ public Builder removeImages(int index) { } } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder - addImagesBuilder() { - return getImagesFieldBuilder() - .addBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder addImagesBuilder() { + return getImagesFieldBuilder().addBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder - addImagesBuilder(int index) { - return getImagesFieldBuilder() - .addBuilder( - index, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder addImagesBuilder( + int index) { + return getImagesFieldBuilder().addBuilder( + index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); } /** - * - * *
        * List of images with auditing details.
        * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; - * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; */ - public java.util.List< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder> - getImagesBuilderList() { + public java.util.List + getImagesBuilderList() { return getImagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder> getImagesFieldBuilder() { if (imagesBuilder_ == null) { - imagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetails.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.ImageDetailsOrBuilder>( - images_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); + imagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder>( + images_, + ((bitField0_ & 0x00000040) != 0), + getParentForChildren(), + isClean()); images_ = null; } return imagesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8452,48 +7332,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent(); + DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousValidationPodEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousValidationPodEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8505,104 +7378,86 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConfigErrorEventOrBuilder - extends + public interface ConfigErrorEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A description of the issue.
      * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * A description of the issue.
      * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } /** - * - * *
    * An event describing a user-actionable configuration issue that prevents CV
    * from auditing.
    * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} */ - public static final class ConfigErrorEvent extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ConfigErrorEvent extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) ConfigErrorEventOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigErrorEvent.newBuilder() to construct. private ConfigErrorEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigErrorEvent() { description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigErrorEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder.class); } public static final int DESCRIPTION_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
      * A description of the issue.
      * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -8611,29 +7466,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 description of the issue.
      * 
* * string description = 1; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -8642,7 +7497,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8654,7 +7508,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } @@ -8678,21 +7533,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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent)) { + if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - other = - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) obj; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8711,114 +7560,90 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8828,47 +7653,40 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An event describing a user-actionable configuration issue that prevents CV
      * from auditing.
      * 
* - * Protobuf type {@code - * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} + * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -8878,23 +7696,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8902,22 +7716,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - result = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.description_ = description_; @@ -8928,59 +7734,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - other); + if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) { + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance()) return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000001; @@ -9012,19 +7805,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9034,25 +7825,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object description_ = ""; /** - * - * *
        * A description of the issue.
        * 
* * string description = 1; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -9061,21 +7849,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * A description of the issue.
        * 
* * string description = 1; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -9083,35 +7870,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * A description of the issue.
        * 
* * string description = 1; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * A description of the issue.
        * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -9121,28 +7901,23 @@ public Builder clearDescription() { return this; } /** - * - * *
        * A description of the issue.
        * 
* * string description = 1; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9155,48 +7930,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent(); + DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigErrorEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigErrorEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9208,26 +7976,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int eventTypeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object eventType_; - public enum EventTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { POD_EVENT(1), CONFIG_ERROR_EVENT(4), EVENTTYPE_NOT_SET(0); private final int value; - private EventTypeCase(int value) { this.value = value; } @@ -9243,38 +8007,30 @@ public static EventTypeCase valueOf(int value) { public static EventTypeCase forNumber(int value) { switch (value) { - case 1: - return POD_EVENT; - case 4: - return CONFIG_ERROR_EVENT; - case 0: - return EVENTTYPE_NOT_SET; - default: - return null; + case 1: return POD_EVENT; + case 4: return CONFIG_ERROR_EVENT; + case 0: return EVENTTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EventTypeCase getEventTypeCase() { - return EventTypeCase.forNumber(eventTypeCase_); + public EventTypeCase + getEventTypeCase() { + return EventTypeCase.forNumber( + eventTypeCase_); } public static final int POD_EVENT_FIELD_NUMBER = 1; /** - * - * *
    * Pod event.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; * @return Whether the podEvent field is set. */ @java.lang.Override @@ -9282,66 +8038,42 @@ public boolean hasPodEvent() { return eventTypeCase_ == 1; } /** - * - * *
    * Pod event.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; * @return The podEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - getPodEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getPodEvent() { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); } /** - * - * *
    * Pod event.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEventOrBuilder - getPodEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder getPodEventOrBuilder() { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); } public static final int CONFIG_ERROR_EVENT_FIELD_NUMBER = 4; /** - * - * *
    * Config error event.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; * @return Whether the configErrorEvent field is set. */ @java.lang.Override @@ -9349,55 +8081,36 @@ public boolean hasConfigErrorEvent() { return eventTypeCase_ == 4; } /** - * - * *
    * Config error event.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; * @return The configErrorEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - getConfigErrorEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getConfigErrorEvent() { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - .getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); } /** - * - * *
    * Config error event.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEventOrBuilder - getConfigErrorEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder getConfigErrorEventOrBuilder() { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - .getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9409,19 +8122,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (eventTypeCase_ == 1) { - output.writeMessage( - 1, - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_); + output.writeMessage(1, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_); } if (eventTypeCase_ == 4) { - output.writeMessage( - 4, - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) - eventType_); + output.writeMessage(4, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_); } getUnknownFields().writeTo(output); } @@ -9433,20 +8140,12 @@ public int getSerializedSize() { size = 0; if (eventTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_); } if (eventTypeCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - eventType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9456,21 +8155,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.binaryauthorization.v1beta1.ContinuousValidationEvent)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other = - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) obj; if (!getEventTypeCase().equals(other.getEventTypeCase())) return false; switch (eventTypeCase_) { case 1: - if (!getPodEvent().equals(other.getPodEvent())) return false; + if (!getPodEvent() + .equals(other.getPodEvent())) return false; break; case 4: - if (!getConfigErrorEvent().equals(other.getConfigErrorEvent())) return false; + if (!getConfigErrorEvent() + .equals(other.getConfigErrorEvent())) return false; break; case 0: default: @@ -9504,138 +8204,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents an auditing event from Continuous Validation.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -9652,22 +8345,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.getDefaultInstance(); } @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = - buildPartial(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -9676,29 +8366,26 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent bu @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = - new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { + private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { result.eventTypeCase_ = eventTypeCase_; result.eventType_ = this.eventType_; - if (eventTypeCase_ == 1 && podEventBuilder_ != null) { + if (eventTypeCase_ == 1 && + podEventBuilder_ != null) { result.eventType_ = podEventBuilder_.build(); } - if (eventTypeCase_ == 4 && configErrorEventBuilder_ != null) { + if (eventTypeCase_ == 4 && + configErrorEventBuilder_ != null) { result.eventType_ = configErrorEventBuilder_.build(); } } @@ -9707,66 +8394,58 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.getDefaultInstance()) return this; switch (other.getEventTypeCase()) { - case POD_EVENT: - { - mergePodEvent(other.getPodEvent()); - break; - } - case CONFIG_ERROR_EVENT: - { - mergeConfigErrorEvent(other.getConfigErrorEvent()); - break; - } - case EVENTTYPE_NOT_SET: - { - break; - } + case POD_EVENT: { + mergePodEvent(other.getPodEvent()); + break; + } + case CONFIG_ERROR_EVENT: { + mergeConfigErrorEvent(other.getConfigErrorEvent()); + break; + } + case EVENTTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -9794,26 +8473,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPodEventFieldBuilder().getBuilder(), extensionRegistry); - eventTypeCase_ = 1; - break; - } // case 10 - case 34: - { - input.readMessage( - getConfigErrorEventFieldBuilder().getBuilder(), extensionRegistry); - eventTypeCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPodEventFieldBuilder().getBuilder(), + extensionRegistry); + eventTypeCase_ = 1; + break; + } // case 10 + case 34: { + input.readMessage( + getConfigErrorEventFieldBuilder().getBuilder(), + extensionRegistry); + eventTypeCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -9823,12 +8502,12 @@ public Builder mergeFrom( } // finally return this; } - private int eventTypeCase_ = 0; private java.lang.Object eventType_; - - public EventTypeCase getEventTypeCase() { - return EventTypeCase.forNumber(eventTypeCase_); + public EventTypeCase + getEventTypeCase() { + return EventTypeCase.forNumber( + eventTypeCase_); } public Builder clearEventType() { @@ -9841,24 +8520,13 @@ public Builder clearEventType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEventOrBuilder> - podEventBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder> podEventBuilder_; /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; * @return Whether the podEvent field is set. */ @java.lang.Override @@ -9866,53 +8534,35 @@ public boolean hasPodEvent() { return eventTypeCase_ == 1; } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; * @return The podEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - getPodEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getPodEvent() { if (podEventBuilder_ == null) { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); } else { if (eventTypeCase_ == 1) { return podEventBuilder_.getMessage(); } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); } } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ - public Builder setPodEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - value) { + public Builder setPodEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent value) { if (podEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9926,20 +8576,14 @@ public Builder setPodEvent( return this; } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ public Builder setPodEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.Builder - builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder builderForValue) { if (podEventBuilder_ == null) { eventType_ = builderForValue.build(); onChanged(); @@ -9950,33 +8594,18 @@ public Builder setPodEvent( return this; } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ - public Builder mergePodEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent - value) { + public Builder mergePodEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent value) { if (podEventBuilder_ == null) { - if (eventTypeCase_ == 1 - && eventType_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance()) { - eventType_ = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.newBuilder( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_) - .mergeFrom(value) - .buildPartial(); + if (eventTypeCase_ == 1 && + eventType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance()) { + eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.newBuilder((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_) + .mergeFrom(value).buildPartial(); } else { eventType_ = value; } @@ -9992,15 +8621,11 @@ public Builder mergePodEvent( return this; } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ public Builder clearPodEvent() { if (podEventBuilder_ == null) { @@ -10019,84 +8644,50 @@ public Builder clearPodEvent() { return this; } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.Builder - getPodEventBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder getPodEventBuilder() { return getPodEventFieldBuilder().getBuilder(); } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEventOrBuilder - getPodEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder getPodEventOrBuilder() { if ((eventTypeCase_ == 1) && (podEventBuilder_ != null)) { return podEventBuilder_.getMessageOrBuilder(); } else { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); } } /** - * - * *
      * Pod event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEventOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder> getPodEventFieldBuilder() { if (podEventBuilder_ == null) { if (!(eventTypeCase_ == 1)) { - eventType_ = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.getDefaultInstance(); - } - podEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEventOrBuilder>( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ContinuousValidationPodEvent) - eventType_, + eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); + } + podEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder>( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_, getParentForChildren(), isClean()); eventType_ = null; @@ -10107,23 +8698,13 @@ public Builder clearPodEvent() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - .Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEventOrBuilder> - configErrorEventBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder> configErrorEventBuilder_; /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; * @return Whether the configErrorEvent field is set. */ @java.lang.Override @@ -10131,51 +8712,35 @@ public boolean hasConfigErrorEvent() { return eventTypeCase_ == 4; } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; * @return The configErrorEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - getConfigErrorEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getConfigErrorEvent() { if (configErrorEventBuilder_ == null) { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); } else { if (eventTypeCase_ == 4) { return configErrorEventBuilder_.getMessage(); } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); } } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ - public Builder setConfigErrorEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - value) { + public Builder setConfigErrorEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent value) { if (configErrorEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10189,20 +8754,14 @@ public Builder setConfigErrorEvent( return this; } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ public Builder setConfigErrorEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - .Builder - builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder builderForValue) { if (configErrorEventBuilder_ == null) { eventType_ = builderForValue.build(); onChanged(); @@ -10213,32 +8772,18 @@ public Builder setConfigErrorEvent( return this; } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ - public Builder mergeConfigErrorEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - value) { + public Builder mergeConfigErrorEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent value) { if (configErrorEventBuilder_ == null) { - if (eventTypeCase_ == 4 - && eventType_ - != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.getDefaultInstance()) { - eventType_ = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.newBuilder( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - eventType_) - .mergeFrom(value) - .buildPartial(); + if (eventTypeCase_ == 4 && + eventType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance()) { + eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.newBuilder((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_) + .mergeFrom(value).buildPartial(); } else { eventType_ = value; } @@ -10254,15 +8799,11 @@ public Builder mergeConfigErrorEvent( return this; } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ public Builder clearConfigErrorEvent() { if (configErrorEventBuilder_ == null) { @@ -10281,83 +8822,50 @@ public Builder clearConfigErrorEvent() { return this; } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - .Builder - getConfigErrorEventBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder getConfigErrorEventBuilder() { return getConfigErrorEventFieldBuilder().getBuilder(); } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEventOrBuilder - getConfigErrorEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder getConfigErrorEventOrBuilder() { if ((eventTypeCase_ == 4) && (configErrorEventBuilder_ != null)) { return configErrorEventBuilder_.getMessageOrBuilder(); } else { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); } } /** - * - * *
      * Config error event.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent - .Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEventOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder> getConfigErrorEventFieldBuilder() { if (configErrorEventBuilder_ == null) { if (!(eventTypeCase_ == 4)) { - eventType_ = - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.getDefaultInstance(); - } - configErrorEventBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent.Builder, - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEventOrBuilder>( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - .ConfigErrorEvent) - eventType_, + eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); + } + configErrorEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder>( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_, getParentForChildren(), isClean()); eventType_ = null; @@ -10366,9 +8874,9 @@ public Builder clearConfigErrorEvent() { onChanged(); return configErrorEventBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10378,43 +8886,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousValidationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousValidationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10426,8 +8932,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java new file mode 100644 index 000000000000..23d03ca3d58d --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java @@ -0,0 +1,65 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface ContinuousValidationEventOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Pod event.
+   * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * @return Whether the podEvent field is set. + */ + boolean hasPodEvent(); + /** + *
+   * Pod event.
+   * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * @return The podEvent. + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getPodEvent(); + /** + *
+   * Pod event.
+   * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder getPodEventOrBuilder(); + + /** + *
+   * Config error event.
+   * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * @return Whether the configErrorEvent field is set. + */ + boolean hasConfigErrorEvent(); + /** + *
+   * Config error event.
+   * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * @return The configErrorEvent. + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getConfigErrorEvent(); + /** + *
+   * Config error event.
+   * 
+ * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder getConfigErrorEventOrBuilder(); + + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.EventTypeCase getEventTypeCase(); +} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java new file mode 100644 index 000000000000..6e8ec274d91a --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java @@ -0,0 +1,169 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public final class ContinuousValidationLoggingProto { + private ContinuousValidationLoggingProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public 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_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\nLgoogle/cloud/binaryauthorization/v1bet" + + "a1/continuous_validation_logging.proto\022(" + + "google.cloud.binaryauthorization.v1beta1" + + "\032\037google/protobuf/timestamp.proto\"\205\021\n\031Co" + + "ntinuousValidationEvent\022u\n\tpod_event\030\001 \001" + + "(\0132`.google.cloud.binaryauthorization.v1" + + "beta1.ContinuousValidationEvent.Continuo" + + "usValidationPodEventH\000\022r\n\022config_error_e" + + "vent\030\004 \001(\0132T.google.cloud.binaryauthoriz" + + "ation.v1beta1.ContinuousValidationEvent." + + "ConfigErrorEventH\000\032\305\016\n\034ContinuousValidat" + + "ionPodEvent\022\025\n\rpod_namespace\030\007 \001(\t\022\013\n\003po" + + "d\030\001 \001(\t\022\023\n\013policy_name\030\010 \001(\t\022/\n\013deploy_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" + + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\022\212\001\n\007verdict\030\004 \001(\0162y.google.cloud.bin" + + "aryauthorization.v1beta1.ContinuousValid" + + "ationEvent.ContinuousValidationPodEvent." + + "PolicyConformanceVerdict\022}\n\006images\030\005 \003(\013" + + "2m.google.cloud.binaryauthorization.v1be" + + "ta1.ContinuousValidationEvent.Continuous" + + "ValidationPodEvent.ImageDetails\032\243\n\n\014Imag" + + "eDetails\022\r\n\005image\030\001 \001(\t\022\026\n\016container_nam" + + "e\030\005 \001(\t\022\223\001\n\016container_type\030\006 \001(\0162{.googl" + + "e.cloud.binaryauthorization.v1beta1.Cont" + + "inuousValidationEvent.ContinuousValidati" + + "onPodEvent.ImageDetails.ContainerType\022\211\001" + + "\n\006result\030\002 \001(\0162y.google.cloud.binaryauth" + + "orization.v1beta1.ContinuousValidationEv" + + "ent.ContinuousValidationPodEvent.ImageDe" + + "tails.AuditResult\022\023\n\013description\030\003 \001(\t\022\220" + + "\001\n\rcheck_results\030\004 \003(\0132y.google.cloud.bi" + + "naryauthorization.v1beta1.ContinuousVali" + + "dationEvent.ContinuousValidationPodEvent" + + ".ImageDetails.CheckResult\032\362\004\n\013CheckResul" + + "t\022\027\n\017check_set_index\030\001 \001(\t\022\026\n\016check_set_" + + "name\030\002 \001(\t\022\241\001\n\017check_set_scope\030\003 \001(\0132\207\001." + + "google.cloud.binaryauthorization.v1beta1" + + ".ContinuousValidationEvent.ContinuousVal" + + "idationPodEvent.ImageDetails.CheckResult" + + ".CheckSetScope\022\023\n\013check_index\030\004 \001(\t\022\022\n\nc" + + "heck_name\030\005 \001(\t\022\022\n\ncheck_type\030\006 \001(\t\022\230\001\n\007" + + "verdict\030\007 \001(\0162\206\001.google.cloud.binaryauth" + + "orization.v1beta1.ContinuousValidationEv" + + "ent.ContinuousValidationPodEvent.ImageDe" + + "tails.CheckResult.CheckVerdict\022\023\n\013explan" + + "ation\030\010 \001(\t\032^\n\rCheckSetScope\022$\n\032kubernet" + + "es_service_account\030\001 \001(\tH\000\022\036\n\024kubernetes" + + "_namespace\030\002 \001(\tH\000B\007\n\005scope\"A\n\014CheckVerd" + + "ict\022\035\n\031CHECK_VERDICT_UNSPECIFIED\020\000\022\022\n\016NO" + + "N_CONFORMANT\020\001\"k\n\rContainerType\022\036\n\032CONTA" + + "INER_TYPE_UNSPECIFIED\020\000\022\r\n\tCONTAINER\020\001\022\022" + + "\n\016INIT_CONTAINER\020\002\022\027\n\023EPHEMERAL_CONTAINE" + + "R\020\003\"@\n\013AuditResult\022\034\n\030AUDIT_RESULT_UNSPE" + + "CIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002\"[\n\030PolicyC" + + "onformanceVerdict\022*\n&POLICY_CONFORMANCE_" + + "VERDICT_UNSPECIFIED\020\000\022\023\n\017VIOLATES_POLICY" + + "\020\001\032\'\n\020ConfigErrorEvent\022\023\n\013description\030\001 " + + "\001(\tB\014\n\nevent_typeB\271\002\n,com.google.cloud.b" + + "inaryauthorization.v1beta1B ContinuousVa" + + "lidationLoggingProtoP\001Z^cloud.google.com" + + "/go/binaryauthorization/apiv1beta1/binar" + + "yauthorizationpb;binaryauthorizationpb\370\001" + + "\001\252\002(Google.Cloud.BinaryAuthorization.V1B" + + "eta1\312\002(Google\\Cloud\\BinaryAuthorization\\" + + "V1beta1\352\002+Google::Cloud::BinaryAuthoriza" + + "tion::V1beta1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor, + new java.lang.String[] { "PodEvent", "ConfigErrorEvent", "EventType", }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor, + new java.lang.String[] { "PodNamespace", "Pod", "PolicyName", "DeployTime", "EndTime", "Verdict", "Images", }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor, + new java.lang.String[] { "Image", "ContainerName", "ContainerType", "Result", "Description", "CheckResults", }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor, + new java.lang.String[] { "CheckSetIndex", "CheckSetName", "CheckSetScope", "CheckIndex", "CheckName", "CheckType", "Verdict", "Explanation", }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor, + new java.lang.String[] { "KubernetesServiceAccount", "KubernetesNamespace", "Scope", }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor, + new java.lang.String[] { "Description", }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java similarity index 64% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java index b7eccfb06d66..56882674f12b 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request message for [BinauthzManagementService.CreateAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest} */ -public final class CreateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) CreateAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAttestorRequest.newBuilder() to construct. private CreateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAttestorRequest() { parent_ = ""; attestorId_ = ""; @@ -44,40 +26,33 @@ private CreateAttestorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * - * string parent = 1 [(.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 @@ -86,31 +61,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -119,18 +92,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int ATTESTOR_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object attestorId_ = ""; /** - * - * *
    * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestorId. */ @java.lang.Override @@ -139,29 +108,29 @@ public java.lang.String getAttestorId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; } } /** - * - * *
    * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestorId. */ @java.lang.Override - public com.google.protobuf.ByteString getAttestorIdBytes() { + public com.google.protobuf.ByteString + getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attestorId_ = b; return b; } else { @@ -172,18 +141,13 @@ public com.google.protobuf.ByteString getAttestorIdBytes() { public static final int ATTESTOR_FIELD_NUMBER = 3; private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; /** - * - * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ @java.lang.Override @@ -191,48 +155,34 @@ public boolean hasAttestor() { return attestor_ != null; } /** - * - * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } /** - * - * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -270,7 +221,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, attestorId_); } if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAttestor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -280,19 +232,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.binaryauthorization.v1beta1.CreateAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other = - (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getAttestorId().equals(other.getAttestorId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getAttestorId() + .equals(other.getAttestorId())) return false; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor().equals(other.getAttestor())) return false; + if (!getAttestor() + .equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -319,138 +273,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.CreateAttestorRequest parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.CreateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -466,16 +413,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - .getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.getDefaultInstance(); } @java.lang.Override @@ -489,17 +434,13 @@ public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result = - new com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -508,7 +449,9 @@ private void buildPartial0( result.attestorId_ = attestorId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null + ? attestor_ + : attestorBuilder_.build(); } } @@ -516,51 +459,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -600,31 +538,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - attestorId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + attestorId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getAttestorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -634,27 +570,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * - * string parent = 1 [(.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; @@ -663,23 +594,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -687,39 +615,28 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * - * string 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() { @@ -729,23 +646,17 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -755,20 +666,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object attestorId_ = ""; /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestorId. */ public java.lang.String getAttestorId() { java.lang.Object ref = attestorId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; @@ -777,21 +686,20 @@ public java.lang.String getAttestorId() { } } /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestorId. */ - public com.google.protobuf.ByteString getAttestorIdBytes() { + public com.google.protobuf.ByteString + getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); attestorId_ = b; return b; } else { @@ -799,35 +707,28 @@ public com.google.protobuf.ByteString getAttestorIdBytes() { } } /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttestorId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } attestorId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAttestorId() { @@ -837,21 +738,17 @@ public Builder clearAttestorId() { return this; } /** - * - * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAttestorIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); attestorId_ = value; bitField0_ |= 0x00000002; @@ -861,64 +758,45 @@ public Builder setAttestorIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> - attestorBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> attestorBuilder_; /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } else { return attestorBuilder_.getMessage(); } } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { @@ -934,17 +812,13 @@ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor return this; } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttestor( com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder builderForValue) { @@ -958,24 +832,19 @@ public Builder setAttestor( return this; } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && attestor_ != null - && attestor_ - != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + attestor_ != null && + attestor_ != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -988,17 +857,13 @@ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attest return this; } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1011,17 +876,13 @@ public Builder clearAttestor() { return this; } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestorBuilder() { bitField0_ |= 0x00000004; @@ -1029,59 +890,47 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor return getAttestorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? + com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } } /** - * - * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( - getAttestor(), getParentForChildren(), isClean()); + attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( + getAttestor(), + getParentForChildren(), + isClean()); attestor_ = null; } return attestorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1091,43 +940,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,8 +986,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java similarity index 61% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java index 11672508229b..fc402cd0c28f 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java @@ -1,126 +1,82 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface CreateAttestorRequestOrBuilder - extends +public interface CreateAttestorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * - * string parent = 1 [(.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 of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * - * string parent = 1 [(.google.api.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 [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The attestorId. */ java.lang.String getAttestorId(); /** - * - * *
    * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for attestorId. */ - com.google.protobuf.ByteString getAttestorIdBytes(); + com.google.protobuf.ByteString + getAttestorIdBytes(); /** - * - * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ boolean hasAttestor(); /** - * - * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor(); /** - * - * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java similarity index 60% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java index 33e55ac54475..7bdcdb034bb6 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request message for [BinauthzManagementService.DeleteAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest} */ -public final class DeleteAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) DeleteAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAttestorRequest.newBuilder() to construct. private DeleteAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
    * `projects/*/attestors/*`.
    * 
* - * - * string name = 1 [(.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 @@ -86,32 +61,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 [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
    * `projects/*/attestors/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,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.binaryauthorization.v1beta1.DeleteAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other = - (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,138 +157,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.DeleteAttestorRequest parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.DeleteAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,16 +291,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - .getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.getDefaultInstance(); } @java.lang.Override @@ -348,17 +312,13 @@ public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result = - new com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,51 +329,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -445,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -467,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.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; @@ -497,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -522,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string 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() { @@ -566,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,43 +530,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,8 +576,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java new file mode 100644 index 000000000000..1268e03db8fa --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface DeleteAttestorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * 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/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java similarity index 61% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java index cfd11523bee5..131a8aa2d8a5 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request message for [BinauthzManagementService.GetAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetAttestorRequest} */ -public final class GetAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) GetAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAttestorRequest.newBuilder() to construct. private GetAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
    * `projects/*/attestors/*`.
    * 
* - * - * string name = 1 [(.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 @@ -86,32 +61,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 [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
    * `projects/*/attestors/*`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,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.binaryauthorization.v1beta1.GetAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other = - (com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +157,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.GetAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetAttestorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,14 +291,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance(); } @@ -345,17 +312,13 @@ public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest build() { @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result = - new com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -366,50 +329,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -441,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -463,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.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; @@ -493,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -518,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string 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() { @@ -562,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,43 +530,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,8 +576,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java new file mode 100644 index 000000000000..3386bd5527ff --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface GetAttestorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * 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/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java similarity index 62% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java index e9de165f5eb6..d09e00beaa57 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request message for [BinauthzManagementService.GetPolicy][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetPolicyRequest} */ -public final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) GetPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPolicyRequest.newBuilder() to construct. private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
    * in the format `projects/*/policy`.
    * 
* - * - * string name = 1 [(.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 @@ -86,32 +61,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 resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
    * in the format `projects/*/policy`.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,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.binaryauthorization.v1beta1.GetPolicyRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest other = - (com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest other = (com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,136 +157,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.GetPolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,14 +291,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance(); } @@ -345,17 +312,13 @@ public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest build() { @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result = - new com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result = new com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -366,39 +329,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -406,9 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -440,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -462,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.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; @@ -492,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -517,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string 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() { @@ -561,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,13 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest(); } @@ -612,27 +544,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -647,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java new file mode 100644 index 000000000000..989f192f4ef7 --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface GetPolicyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
+   * in the format `projects/*/policy`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
+   * in the format `projects/*/policy`.
+   * 
+ * + * 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/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java similarity index 59% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java index 793348db39e2..1803e9f3b39a 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request to read the current system policy.
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest} */ -public final class GetSystemPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetSystemPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) GetSystemPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetSystemPolicyRequest.newBuilder() to construct. private GetSystemPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetSystemPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetSystemPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The resource name, in the format `locations/*/policy`.
    * Note that the system policy is not associated with a project.
    * 
* - * - * string name = 1 [(.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 @@ -86,32 +61,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 resource name, in the format `locations/*/policy`.
    * Note that the system policy is not associated with a project.
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,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.binaryauthorization.v1beta1.GetSystemPolicyRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other = - (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other = (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,138 +157,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.GetSystemPolicyRequest parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 to read the current system policy.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,16 +291,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - .getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.getDefaultInstance(); } @java.lang.Override @@ -348,17 +312,13 @@ public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest build @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result = - new com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result = new com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -369,51 +329,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -445,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -467,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.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; @@ -497,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -522,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string 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() { @@ -566,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,43 +530,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSystemPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSystemPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,8 +576,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java new file mode 100644 index 000000000000..e5c14ae11363 --- /dev/null +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface GetSystemPolicyRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The resource name, in the format `locations/*/policy`.
+   * Note that the system policy is not associated with a project.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The resource name, in the format `locations/*/policy`.
+   * Note that the system policy is not associated with a project.
+   * 
+ * + * 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/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java similarity index 66% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java index 10c13ef4f50b..4bca0ff49b24 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request message for [BinauthzManagementService.ListAttestors][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest} */ -public final class ListAttestorsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAttestorsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) ListAttestorsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAttestorsRequest.newBuilder() to construct. private ListAttestorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAttestorsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,41 +26,34 @@ private ListAttestorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAttestorsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * - * string parent = 1 [(.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 @@ -87,32 +62,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 resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * - * string parent = 1 [(.google.api.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 { @@ -123,15 +96,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Requested page size. The server may return fewer results than requested. If
    * unspecified, the server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -140,12 +110,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -153,7 +120,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -162,15 +128,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 token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -178,15 +143,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 { @@ -195,7 +161,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -230,7 +196,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_); @@ -243,17 +210,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.binaryauthorization.v1beta1.ListAttestorsRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other = - (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other = (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -277,138 +246,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ListAttestorsRequest parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,14 +382,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance(); } @@ -442,17 +403,13 @@ public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest build() @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result = - new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -469,50 +426,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -552,31 +505,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -586,28 +535,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.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; @@ -616,24 +560,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.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,41 +582,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * - * string 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() { @@ -685,24 +615,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -710,17 +634,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -728,15 +649,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -748,15 +666,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -768,8 +683,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -777,13 +690,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; @@ -792,8 +705,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -801,14 +712,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 { @@ -816,8 +728,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -825,22 +735,18 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -848,7 +754,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -858,8 +763,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -867,23 +770,21 @@ 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,43 +794,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -941,8 +840,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java similarity index 64% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java index e2e7f7b4a48f..17428813ea63 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java @@ -1,76 +1,46 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface ListAttestorsRequestOrBuilder - extends +public interface ListAttestorsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * - * string parent = 1 [(.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 resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * - * string parent = 1 [(.google.api.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(); /** - * - * *
    * Requested page size. The server may return fewer results than requested. If
    * unspecified, the server will pick an appropriate default.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -78,13 +48,10 @@ public interface ListAttestorsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -92,8 +59,8 @@ public interface ListAttestorsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java similarity index 71% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java index 6f74156f4ca1..bb5545fc2412 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Response message for [BinauthzManagementService.ListAttestors][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse} */ -public final class ListAttestorsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAttestorsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) ListAttestorsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAttestorsResponse.newBuilder() to construct. private ListAttestorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAttestorsResponse() { attestors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListAttestorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAttestorsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); } public static final int ATTESTORS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List attestors_; /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -81,8 +59,6 @@ public java.util.List get return attestors_; } /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -90,13 +66,11 @@ public java.util.List get * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAttestorsOrBuilderList() { return attestors_; } /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -108,8 +82,6 @@ public int getAttestorsCount() { return attestors_.size(); } /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -121,8 +93,6 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestors(int in return attestors_.get(index); } /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -136,12 +106,9 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -149,7 +116,6 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +124,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -174,15 +139,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +157,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < attestors_.size(); i++) { output.writeMessage(1, attestors_.get(i)); } @@ -220,7 +186,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < attestors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, attestors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, attestors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -233,16 +200,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.binaryauthorization.v1beta1.ListAttestorsResponse)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other = - (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) obj; + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other = (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) obj; - if (!getAttestorsList().equals(other.getAttestorsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getAttestorsList() + .equals(other.getAttestorsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,138 +234,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ListAttestorsResponse parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,16 +375,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - .getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.getDefaultInstance(); } @java.lang.Override @@ -437,18 +396,14 @@ public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result = - new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse(this); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { + private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { if (attestorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attestors_ = java.util.Collections.unmodifiableList(attestors_); @@ -460,8 +415,7 @@ private void buildPartialRepeatedFields( } } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -472,51 +426,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.getDefaultInstance()) return this; if (attestorsBuilder_ == null) { if (!other.attestors_.isEmpty()) { if (attestors_.isEmpty()) { @@ -535,10 +484,9 @@ public Builder mergeFrom( attestorsBuilder_ = null; attestors_ = other.attestors_; bitField0_ = (bitField0_ & ~0x00000001); - attestorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAttestorsFieldBuilder() - : null; + attestorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAttestorsFieldBuilder() : null; } else { attestorsBuilder_.addAllMessages(other.attestors_); } @@ -575,33 +523,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.binaryauthorization.v1beta1.Attestor m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1.Attestor.parser(), - extensionRegistry); - if (attestorsBuilder_ == null) { - ensureAttestorsIsMutable(); - attestors_.add(m); - } else { - attestorsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.cloud.binaryauthorization.v1beta1.Attestor m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1.Attestor.parser(), + extensionRegistry); + if (attestorsBuilder_ == null) { + ensureAttestorsIsMutable(); + attestors_.add(m); + } else { + attestorsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -611,38 +556,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List attestors_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAttestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - attestors_ = - new java.util.ArrayList( - attestors_); + attestors_ = new java.util.ArrayList(attestors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> - attestorsBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> attestorsBuilder_; /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - public java.util.List - getAttestorsList() { + public java.util.List getAttestorsList() { if (attestorsBuilder_ == null) { return java.util.Collections.unmodifiableList(attestors_); } else { @@ -650,8 +585,6 @@ private void ensureAttestorsIsMutable() { } } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -666,8 +599,6 @@ public int getAttestorsCount() { } } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -682,8 +613,6 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestors(int in } } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -705,8 +634,6 @@ public Builder setAttestors( return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -725,8 +652,6 @@ public Builder setAttestors( return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -747,8 +672,6 @@ public Builder addAttestors(com.google.cloud.binaryauthorization.v1beta1.Attesto return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -770,8 +693,6 @@ public Builder addAttestors( return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -790,8 +711,6 @@ public Builder addAttestors( return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -810,8 +729,6 @@ public Builder addAttestors( return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -819,11 +736,11 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ public Builder addAllAttestors( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attestors_); onChanged(); } else { attestorsBuilder_.addAllMessages(values); @@ -831,8 +748,6 @@ public Builder addAllAttestors( return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -850,8 +765,6 @@ public Builder clearAttestors() { return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -869,8 +782,6 @@ public Builder removeAttestors(int index) { return this; } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -882,8 +793,6 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor return getAttestorsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -893,22 +802,19 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBuilder( int index) { if (attestorsBuilder_ == null) { - return attestors_.get(index); - } else { + return attestors_.get(index); } else { return attestorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - public java.util.List - getAttestorsOrBuilderList() { + public java.util.List + getAttestorsOrBuilderList() { if (attestorsBuilder_ != null) { return attestorsBuilder_.getMessageOrBuilderList(); } else { @@ -916,8 +822,6 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto } } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -925,12 +829,10 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestorsBuilder() { - return getAttestorsFieldBuilder() - .addBuilder(com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); + return getAttestorsFieldBuilder().addBuilder( + com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -939,36 +841,30 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestor */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestorsBuilder( int index) { - return getAttestorsFieldBuilder() - .addBuilder( - index, com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); + return getAttestorsFieldBuilder().addBuilder( + index, com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); } /** - * - * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - public java.util.List - getAttestorsBuilderList() { + public java.util.List + getAttestorsBuilderList() { return getAttestorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> getAttestorsFieldBuilder() { if (attestorsBuilder_ == null) { - attestorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( - attestors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + attestorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( + attestors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); attestors_ = null; } return attestorsBuilder_; @@ -976,8 +872,6 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestor private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -985,13 +879,13 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestor
      * 
* * 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,8 +894,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -1009,14 +901,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1024,8 +917,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -1033,22 +924,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -1056,7 +943,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1066,8 +952,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -1075,23 +959,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - 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,43 +983,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) - private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse(); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1149,8 +1029,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java similarity index 74% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java index dd0ff0b7ec7d..3be2b8f07d27 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface ListAttestorsResponseOrBuilder - extends +public interface ListAttestorsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - java.util.List getAttestorsList(); + java.util.List + getAttestorsList(); /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -44,8 +25,6 @@ public interface ListAttestorsResponseOrBuilder */ com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestors(int index); /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -54,30 +33,25 @@ public interface ListAttestorsResponseOrBuilder */ int getAttestorsCount(); /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - java.util.List + java.util.List getAttestorsOrBuilderList(); /** - * - * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBuilder(int index); + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBuilder( + int index); /** - * - * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -85,13 +59,10 @@ public interface ListAttestorsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -99,8 +70,8 @@ public interface ListAttestorsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java similarity index 69% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java index a72c991ce534..08af292c9af8 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * A public key in the PkixPublicKey format (see
  * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.PkixPublicKey}
  */
-public final class PkixPublicKey extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PkixPublicKey extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.PkixPublicKey)
     PkixPublicKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PkixPublicKey.newBuilder() to construct.
   private PkixPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PkixPublicKey() {
     publicKeyPem_ = "";
     signatureAlgorithm_ = 0;
@@ -47,28 +29,25 @@ private PkixPublicKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PkixPublicKey();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class,
-            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Represents a signature algorithm and other information necessary to verify
    * signatures with a given public key.
@@ -80,10 +59,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm}
    */
-  public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SignatureAlgorithm
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not specified.
      * 
@@ -92,8 +70,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ SIGNATURE_ALGORITHM_UNSPECIFIED(0, 0), /** - * - * *
      * RSASSA-PSS 2048 bit key with a SHA256 digest.
      * 
@@ -102,8 +78,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_2048_SHA256(1, 1), /** - * - * *
      * RSASSA-PSS 3072 bit key with a SHA256 digest.
      * 
@@ -112,8 +86,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_3072_SHA256(2, 2), /** - * - * *
      * RSASSA-PSS 4096 bit key with a SHA256 digest.
      * 
@@ -122,8 +94,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_4096_SHA256(3, 3), /** - * - * *
      * RSASSA-PSS 4096 bit key with a SHA512 digest.
      * 
@@ -132,8 +102,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_PSS_4096_SHA512(4, 4), /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
      * 
@@ -142,8 +110,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_2048_SHA256(5, 5), /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
      * 
@@ -152,8 +118,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_3072_SHA256(6, 6), /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
      * 
@@ -162,8 +126,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_4096_SHA256(7, 7), /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
      * 
@@ -172,8 +134,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ RSA_SIGN_PKCS1_4096_SHA512(8, 8), /** - * - * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -182,8 +142,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ ECDSA_P256_SHA256(9, 9), /** - * - * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -192,8 +150,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ ECDSA_P384_SHA384(11, 10), /** - * - * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -205,8 +161,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -215,8 +169,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final SignatureAlgorithm EC_SIGN_P256_SHA256 = ECDSA_P256_SHA256; /** - * - * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -225,8 +177,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final SignatureAlgorithm EC_SIGN_P384_SHA384 = ECDSA_P384_SHA384; /** - * - * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -235,8 +185,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final SignatureAlgorithm EC_SIGN_P521_SHA512 = ECDSA_P521_SHA512; /** - * - * *
      * Not specified.
      * 
@@ -245,8 +193,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int SIGNATURE_ALGORITHM_UNSPECIFIED_VALUE = 0; /** - * - * *
      * RSASSA-PSS 2048 bit key with a SHA256 digest.
      * 
@@ -255,8 +201,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_2048_SHA256_VALUE = 1; /** - * - * *
      * RSASSA-PSS 3072 bit key with a SHA256 digest.
      * 
@@ -265,8 +209,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_3072_SHA256_VALUE = 2; /** - * - * *
      * RSASSA-PSS 4096 bit key with a SHA256 digest.
      * 
@@ -275,8 +217,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_4096_SHA256_VALUE = 3; /** - * - * *
      * RSASSA-PSS 4096 bit key with a SHA512 digest.
      * 
@@ -285,8 +225,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_PSS_4096_SHA512_VALUE = 4; /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
      * 
@@ -295,8 +233,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_2048_SHA256_VALUE = 5; /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
      * 
@@ -305,8 +241,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_3072_SHA256_VALUE = 6; /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
      * 
@@ -315,8 +249,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_4096_SHA256_VALUE = 7; /** - * - * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
      * 
@@ -325,8 +257,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int RSA_SIGN_PKCS1_4096_SHA512_VALUE = 8; /** - * - * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -335,8 +265,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int ECDSA_P256_SHA256_VALUE = 9; /** - * - * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -345,8 +273,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int EC_SIGN_P256_SHA256_VALUE = 9; /** - * - * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -355,8 +281,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int ECDSA_P384_SHA384_VALUE = 10; /** - * - * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -365,8 +289,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int EC_SIGN_P384_SHA384_VALUE = 10; /** - * - * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -375,8 +297,6 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int ECDSA_P521_SHA512_VALUE = 11; /** - * - * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -385,6 +305,7 @@ public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnu */ public static final int EC_SIGN_P521_SHA512_VALUE = 11; + public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( @@ -409,32 +330,19 @@ public static SignatureAlgorithm valueOf(int value) { */ public static SignatureAlgorithm forNumber(int value) { switch (value) { - case 0: - return SIGNATURE_ALGORITHM_UNSPECIFIED; - case 1: - return RSA_PSS_2048_SHA256; - case 2: - return RSA_PSS_3072_SHA256; - case 3: - return RSA_PSS_4096_SHA256; - case 4: - return RSA_PSS_4096_SHA512; - case 5: - return RSA_SIGN_PKCS1_2048_SHA256; - case 6: - return RSA_SIGN_PKCS1_3072_SHA256; - case 7: - return RSA_SIGN_PKCS1_4096_SHA256; - case 8: - return RSA_SIGN_PKCS1_4096_SHA512; - case 9: - return ECDSA_P256_SHA256; - case 10: - return ECDSA_P384_SHA384; - case 11: - return ECDSA_P521_SHA512; - default: - return null; + case 0: return SIGNATURE_ALGORITHM_UNSPECIFIED; + case 1: return RSA_PSS_2048_SHA256; + case 2: return RSA_PSS_3072_SHA256; + case 3: return RSA_PSS_4096_SHA256; + case 4: return RSA_PSS_4096_SHA512; + case 5: return RSA_SIGN_PKCS1_2048_SHA256; + case 6: return RSA_SIGN_PKCS1_3072_SHA256; + case 7: return RSA_SIGN_PKCS1_4096_SHA256; + case 8: return RSA_SIGN_PKCS1_4096_SHA512; + case 9: return ECDSA_P256_SHA256; + case 10: return ECDSA_P384_SHA384; + case 11: return ECDSA_P521_SHA512; + default: return null; } } @@ -442,59 +350,42 @@ public static SignatureAlgorithm forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SignatureAlgorithm findValueByNumber(int number) { - return SignatureAlgorithm.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + SignatureAlgorithm> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public SignatureAlgorithm findValueByNumber(int number) { + return SignatureAlgorithm.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (index == -1) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(index); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDescriptor().getEnumTypes().get(0); } private static final SignatureAlgorithm[] VALUES = getStaticValuesArray(); - private static SignatureAlgorithm[] getStaticValuesArray() { return new SignatureAlgorithm[] { - SIGNATURE_ALGORITHM_UNSPECIFIED, - RSA_PSS_2048_SHA256, - RSA_PSS_3072_SHA256, - RSA_PSS_4096_SHA256, - RSA_PSS_4096_SHA512, - RSA_SIGN_PKCS1_2048_SHA256, - RSA_SIGN_PKCS1_3072_SHA256, - RSA_SIGN_PKCS1_4096_SHA256, - RSA_SIGN_PKCS1_4096_SHA512, - ECDSA_P256_SHA256, - EC_SIGN_P256_SHA256, - ECDSA_P384_SHA384, - EC_SIGN_P384_SHA384, - ECDSA_P521_SHA512, - EC_SIGN_P521_SHA512, + SIGNATURE_ALGORITHM_UNSPECIFIED, RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512, ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384, EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512, }; } - public static SignatureAlgorithm 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; @@ -514,19 +405,15 @@ private SignatureAlgorithm(int index, int value) { } public static final int PUBLIC_KEY_PEM_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object publicKeyPem_ = ""; /** - * - * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; - * * @return The publicKeyPem. */ @java.lang.Override @@ -535,30 +422,30 @@ public java.lang.String getPublicKeyPem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; } } /** - * - * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; - * * @return The bytes for publicKeyPem. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicKeyPemBytes() { + public com.google.protobuf.ByteString + getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -569,8 +456,6 @@ public com.google.protobuf.ByteString getPublicKeyPemBytes() { public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER = 2; private int signatureAlgorithm_ = 0; /** - * - * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -579,19 +464,13 @@ public com.google.protobuf.ByteString getPublicKeyPemBytes() {
    * that of the public key).
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override - public int getSignatureAlgorithmValue() { + @java.lang.Override public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** - * - * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -600,25 +479,15 @@ public int getSignatureAlgorithmValue() {
    * that of the public key).
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The signatureAlgorithm. */ - @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm - getSignatureAlgorithm() { - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber( - signatureAlgorithm_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -630,14 +499,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKeyPem_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, publicKeyPem_); } - if (signatureAlgorithm_ - != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm - .SIGNATURE_ALGORITHM_UNSPECIFIED - .getNumber()) { + if (signatureAlgorithm_ != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { output.writeEnum(2, signatureAlgorithm_); } getUnknownFields().writeTo(output); @@ -652,11 +519,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKeyPem_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, publicKeyPem_); } - if (signatureAlgorithm_ - != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm - .SIGNATURE_ALGORITHM_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, signatureAlgorithm_); + if (signatureAlgorithm_ != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, signatureAlgorithm_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -666,15 +531,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.binaryauthorization.v1beta1.PkixPublicKey)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey other = - (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) obj; + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey other = (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) obj; - if (!getPublicKeyPem().equals(other.getPublicKeyPem())) return false; + if (!getPublicKeyPem() + .equals(other.getPublicKeyPem())) return false; if (signatureAlgorithm_ != other.signatureAlgorithm_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -697,104 +562,98 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 public key in the PkixPublicKey format (see
    * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -804,32 +663,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.PkixPublicKey}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.PkixPublicKey)
       com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class,
-              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -840,9 +700,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
     }
 
     @java.lang.Override
@@ -861,11 +721,8 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey result =
-          new com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey result = new com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -884,39 +741,38 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.PkixPubl
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -924,8 +780,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance()) return this;
       if (!other.getPublicKeyPem().isEmpty()) {
         publicKeyPem_ = other.publicKeyPem_;
         bitField0_ |= 0x00000001;
@@ -960,25 +815,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                publicKeyPem_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                signatureAlgorithm_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              publicKeyPem_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              signatureAlgorithm_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -988,26 +840,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object publicKeyPem_ = "";
     /**
-     *
-     *
      * 
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @return The publicKeyPem. */ public java.lang.String getPublicKeyPem() { java.lang.Object ref = publicKeyPem_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; @@ -1016,22 +865,21 @@ public java.lang.String getPublicKeyPem() { } } /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @return The bytes for publicKeyPem. */ - public com.google.protobuf.ByteString getPublicKeyPemBytes() { + public com.google.protobuf.ByteString + getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -1039,37 +887,30 @@ public com.google.protobuf.ByteString getPublicKeyPemBytes() { } } /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @param value The publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPem(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyPem( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } publicKeyPem_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @return This builder for chaining. */ public Builder clearPublicKeyPem() { @@ -1079,22 +920,18 @@ public Builder clearPublicKeyPem() { return this; } /** - * - * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; - * * @param value The bytes for publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPublicKeyPemBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); publicKeyPem_ = value; bitField0_ |= 0x00000001; @@ -1104,8 +941,6 @@ public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) { private int signatureAlgorithm_ = 0; /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -1114,19 +949,13 @@ public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) {
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override - public int getSignatureAlgorithmValue() { + @java.lang.Override public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -1135,10 +964,7 @@ public int getSignatureAlgorithmValue() {
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @param value The enum numeric value on the wire for signatureAlgorithm to set. * @return This builder for chaining. */ @@ -1149,8 +975,6 @@ public Builder setSignatureAlgorithmValue(int value) { return this; } /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -1159,26 +983,15 @@ public Builder setSignatureAlgorithmValue(int value) {
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The signatureAlgorithm. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm - getSignatureAlgorithm() { - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber( - signatureAlgorithm_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm - .UNRECOGNIZED - : result; + public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; } /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -1187,15 +1000,11 @@ public Builder setSignatureAlgorithmValue(int value) {
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @param value The signatureAlgorithm to set. * @return This builder for chaining. */ - public Builder setSignatureAlgorithm( - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm value) { + public Builder setSignatureAlgorithm(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm value) { if (value == null) { throw new NullPointerException(); } @@ -1205,8 +1014,6 @@ public Builder setSignatureAlgorithm( return this; } /** - * - * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -1215,10 +1022,7 @@ public Builder setSignatureAlgorithm(
      * that of the public key).
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return This builder for chaining. */ public Builder clearSignatureAlgorithm() { @@ -1227,9 +1031,9 @@ public Builder clearSignatureAlgorithm() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1239,12 +1043,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.PkixPublicKey) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.PkixPublicKey) private static final com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey(); } @@ -1253,27 +1057,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PkixPublicKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PkixPublicKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,4 +1092,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java similarity index 60% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java index 9b438cb32de1..487c6c9b00c7 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface PkixPublicKeyOrBuilder - extends +public interface PkixPublicKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.PkixPublicKey) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; - * * @return The publicKeyPem. */ java.lang.String getPublicKeyPem(); /** - * - * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; - * * @return The bytes for publicKeyPem. */ - com.google.protobuf.ByteString getPublicKeyPemBytes(); + com.google.protobuf.ByteString + getPublicKeyPemBytes(); /** - * - * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -61,16 +38,11 @@ public interface PkixPublicKeyOrBuilder
    * that of the public key).
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The enum numeric value on the wire for signatureAlgorithm. */ int getSignatureAlgorithmValue(); /** - * - * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -79,12 +51,8 @@ public interface PkixPublicKeyOrBuilder
    * that of the public key).
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; - * - * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; * @return The signatureAlgorithm. */ - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm - getSignatureAlgorithm(); + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java similarity index 57% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java index cd121b8586d0..a951adaf2aa7 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for Binary Authorization.
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Policy} */ -public final class Policy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Policy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.Policy) PolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Policy.newBuilder() to construct. private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Policy() { name_ = ""; description_ = ""; @@ -46,18 +28,20 @@ private Policy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Policy(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -68,28 +52,24 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 9: return internalGetIstioServiceIdentityAdmissionRules(); 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.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.Policy.class, - com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.Policy.class, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); } /** - * Protobuf enum {@code - * google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode} + * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode} */ - public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMessageEnum { + public enum GlobalPolicyEvaluationMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified: DISABLE is assumed.
      * 
@@ -98,8 +78,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED(0), /** - * - * *
      * Enables system policy evaluation.
      * 
@@ -108,8 +86,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ ENABLE(1), /** - * - * *
      * Disables system policy evaluation.
      * 
@@ -121,8 +97,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe ; /** - * - * *
      * Not specified: DISABLE is assumed.
      * 
@@ -131,8 +105,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ public static final int GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Enables system policy evaluation.
      * 
@@ -141,8 +113,6 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ public static final int ENABLE_VALUE = 1; /** - * - * *
      * Disables system policy evaluation.
      * 
@@ -151,6 +121,7 @@ public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMe */ public static final int DISABLE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -175,14 +146,10 @@ public static GlobalPolicyEvaluationMode valueOf(int value) { */ public static GlobalPolicyEvaluationMode forNumber(int value) { switch (value) { - case 0: - return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; - case 1: - return ENABLE; - case 2: - return DISABLE; - default: - return null; + case 0: return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; + case 1: return ENABLE; + case 2: return DISABLE; + default: return null; } } @@ -190,31 +157,29 @@ public static GlobalPolicyEvaluationMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + GlobalPolicyEvaluationMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GlobalPolicyEvaluationMode findValueByNumber(int number) { + return GlobalPolicyEvaluationMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GlobalPolicyEvaluationMode findValueByNumber(int number) { - return GlobalPolicyEvaluationMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.Policy.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.Policy.getDescriptor().getEnumTypes().get(0); } private static final GlobalPolicyEvaluationMode[] VALUES = values(); @@ -222,7 +187,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GlobalPolicyEvaluationMode 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; @@ -240,19 +206,15 @@ private GlobalPolicyEvaluationMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -261,30 +223,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; } } /** - * - * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -293,18 +255,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ @java.lang.Override @@ -313,29 +271,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -346,8 +304,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int GLOBAL_POLICY_EVALUATION_MODE_FIELD_NUMBER = 7; private int globalPolicyEvaluationMode_ = 0; /** - * - * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -355,19 +311,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
    * has no effect when specified inside a global admission policy.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override - public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** - * - * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -375,160 +325,112 @@ public int getGlobalPolicyEvaluationModeValue() {
    * has no effect when specified inside a global admission policy.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The globalPolicyEvaluationMode. */ - @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode - getGlobalPolicyEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber( - globalPolicyEvaluationMode_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode - .UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; } public static final int ADMISSION_WHITELIST_PATTERNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List - admissionWhitelistPatterns_; + private java.util.List admissionWhitelistPatterns_; /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getAdmissionWhitelistPatternsList() { + public java.util.List getAdmissionWhitelistPatternsList() { return admissionWhitelistPatterns_; } /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> + public java.util.List getAdmissionWhitelistPatternsOrBuilderList() { return admissionWhitelistPatterns_; } /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getAdmissionWhitelistPatternsCount() { return admissionWhitelistPatterns_.size(); } /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - getAdmissionWhitelistPatterns(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { return admissionWhitelistPatterns_.get(index); } /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder - getAdmissionWhitelistPatternsOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( + int index) { return admissionWhitelistPatterns_.get(index); } public static final int CLUSTER_ADMISSION_RULES_FIELD_NUMBER = 3; - private static final class ClusterAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1 - .BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - clusterAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - internalGetClusterAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> clusterAdmissionRules_; + private com.google.protobuf.MapField + internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } return clusterAdmissionRules_; } - public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -539,27 +441,23 @@ public int getClusterAdmissionRulesCount() {
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsClusterAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getClusterAdmissionRulesMap()} instead. */ + /** + * Use {@link #getClusterAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getClusterAdmissionRules() { + public java.util.Map getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -570,18 +468,13 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map - getClusterAdmissionRulesMap() { + public java.util.Map getClusterAdmissionRulesMap() { return internalGetClusterAdmissionRules().getMap(); } /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -592,26 +485,20 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getClusterAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetClusterAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -622,18 +509,14 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetClusterAdmissionRules().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -641,130 +524,98 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmi } public static final int KUBERNETES_NAMESPACE_ADMISSION_RULES_FIELD_NUMBER = 10; - private static final class KubernetesNamespaceAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1 - .BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesNamespaceAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - internalGetKubernetesNamespaceAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesNamespaceAdmissionRules_; + private com.google.protobuf.MapField + internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesNamespaceAdmissionRules_; } - public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesNamespaceAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getKubernetesNamespaceAdmissionRules() { + public java.util.Map getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map - getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -772,130 +623,98 @@ public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { } public static final int KUBERNETES_SERVICE_ACCOUNT_ADMISSION_RULES_FIELD_NUMBER = 8; - private static final class KubernetesServiceAccountAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1 - .BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesServiceAccountAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - internalGetKubernetesServiceAccountAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesServiceAccountAdmissionRules_; + private com.google.protobuf.MapField + internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesServiceAccountAdmissionRules_; } - public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesServiceAccountAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getKubernetesServiceAccountAdmissionRules() { + public java.util.Map getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map - getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -903,45 +722,32 @@ public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String k } public static final int ISTIO_SERVICE_IDENTITY_ADMISSION_RULES_FIELD_NUMBER = 9; - private static final class IstioServiceIdentityAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1 - .BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - .getDefaultInstance()); + .newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - istioServiceIdentityAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - internalGetIstioServiceIdentityAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> istioServiceIdentityAdmissionRules_; + private com.google.protobuf.MapField + internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } return istioServiceIdentityAdmissionRules_; } - public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -950,27 +756,23 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIstioServiceIdentityAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ + /** + * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getIstioServiceIdentityAdmissionRules() { + public java.util.Map getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -979,18 +781,13 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map - getIstioServiceIdentityAdmissionRulesMap() { + public java.util.Map getIstioServiceIdentityAdmissionRulesMap() { return internalGetIstioServiceIdentityAdmissionRules().getMap(); } /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -999,26 +796,20 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -1027,18 +818,14 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1048,17 +835,12 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) public static final int DEFAULT_ADMISSION_RULE_FIELD_NUMBER = 4; private com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultAdmissionRule_; /** - * - * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the defaultAdmissionRule field is set. */ @java.lang.Override @@ -1066,57 +848,39 @@ public boolean hasDefaultAdmissionRule() { return defaultAdmissionRule_ != null; } /** - * - * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The defaultAdmissionRule. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultAdmissionRule() { - return defaultAdmissionRule_ == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() - : defaultAdmissionRule_; + return defaultAdmissionRule_ == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } /** - * - * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder - getDefaultAdmissionRuleOrBuilder() { - return defaultAdmissionRule_ == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() - : defaultAdmissionRule_; + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { + return defaultAdmissionRule_ == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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 @@ -1124,15 +888,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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 @@ -1140,14 +900,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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() { @@ -1155,7 +912,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1167,14 +923,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { output.writeMessage(2, admissionWhitelistPatterns_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetClusterAdmissionRules(), ClusterAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -1188,23 +946,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } - if (globalPolicyEvaluationMode_ - != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode - .GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED - .getNumber()) { + if (globalPolicyEvaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(7, globalPolicyEvaluationMode_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetKubernetesServiceAccountAdmissionRules(), KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetIstioServiceIdentityAdmissionRules(), IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry, 9); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetKubernetesNamespaceAdmissionRules(), KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -1222,83 +980,63 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, admissionWhitelistPatterns_.get(i)); - } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - entry : internalGetClusterAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - clusterAdmissionRules__ = - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, clusterAdmissionRules__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, admissionWhitelistPatterns_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetClusterAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + clusterAdmissionRules__ = ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, clusterAdmissionRules__); } if (defaultAdmissionRule_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDefaultAdmissionRule()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getDefaultAdmissionRule()); } 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(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } - if (globalPolicyEvaluationMode_ - != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode - .GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, globalPolicyEvaluationMode_); - } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - entry : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesServiceAccountAdmissionRules__ = - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, kubernetesServiceAccountAdmissionRules__); - } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - entry : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - istioServiceIdentityAdmissionRules__ = - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, istioServiceIdentityAdmissionRules__); - } - for (java.util.Map.Entry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - entry : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesNamespaceAdmissionRules__ = - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 10, kubernetesNamespaceAdmissionRules__); + if (globalPolicyEvaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, globalPolicyEvaluationMode_); + } + for (java.util.Map.Entry entry + : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + kubernetesServiceAccountAdmissionRules__ = KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, kubernetesServiceAccountAdmissionRules__); + } + for (java.util.Map.Entry entry + : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + istioServiceIdentityAdmissionRules__ = IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, istioServiceIdentityAdmissionRules__); + } + for (java.util.Map.Entry entry + : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry + kubernetesNamespaceAdmissionRules__ = KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, kubernetesNamespaceAdmissionRules__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1308,34 +1046,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.binaryauthorization.v1beta1.Policy)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.Policy other = - (com.google.cloud.binaryauthorization.v1beta1.Policy) obj; + com.google.cloud.binaryauthorization.v1beta1.Policy other = (com.google.cloud.binaryauthorization.v1beta1.Policy) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (globalPolicyEvaluationMode_ != other.globalPolicyEvaluationMode_) return false; - if (!getAdmissionWhitelistPatternsList().equals(other.getAdmissionWhitelistPatternsList())) - return false; - if (!internalGetClusterAdmissionRules().equals(other.internalGetClusterAdmissionRules())) - return false; - if (!internalGetKubernetesNamespaceAdmissionRules() - .equals(other.internalGetKubernetesNamespaceAdmissionRules())) return false; - if (!internalGetKubernetesServiceAccountAdmissionRules() - .equals(other.internalGetKubernetesServiceAccountAdmissionRules())) return false; - if (!internalGetIstioServiceIdentityAdmissionRules() - .equals(other.internalGetIstioServiceIdentityAdmissionRules())) return false; + if (!getAdmissionWhitelistPatternsList() + .equals(other.getAdmissionWhitelistPatternsList())) return false; + if (!internalGetClusterAdmissionRules().equals( + other.internalGetClusterAdmissionRules())) return false; + if (!internalGetKubernetesNamespaceAdmissionRules().equals( + other.internalGetKubernetesNamespaceAdmissionRules())) return false; + if (!internalGetKubernetesServiceAccountAdmissionRules().equals( + other.internalGetKubernetesServiceAccountAdmissionRules())) return false; + if (!internalGetIstioServiceIdentityAdmissionRules().equals( + other.internalGetIstioServiceIdentityAdmissionRules())) return false; if (hasDefaultAdmissionRule() != other.hasDefaultAdmissionRule()) return false; if (hasDefaultAdmissionRule()) { - if (!getDefaultAdmissionRule().equals(other.getDefaultAdmissionRule())) return false; + if (!getDefaultAdmissionRule() + .equals(other.getDefaultAdmissionRule())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1388,120 +1129,116 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.Policy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.Policy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [policy][google.cloud.binaryauthorization.v1beta1.Policy] for Binary Authorization.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Policy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.Policy) com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -1512,12 +1249,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { case 9: return internalGetIstioServiceIdentityAdmissionRules(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableClusterAdmissionRules(); @@ -1528,27 +1266,28 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { case 9: return internalGetMutableIstioServiceIdentityAdmissionRules(); 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.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.Policy.class, - com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.Policy.class, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.Policy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1581,9 +1320,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto - .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; } @java.lang.Override @@ -1602,22 +1341,17 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy build() { @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Policy buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.Policy result = - new com.google.cloud.binaryauthorization.v1beta1.Policy(this); + com.google.cloud.binaryauthorization.v1beta1.Policy result = new com.google.cloud.binaryauthorization.v1beta1.Policy(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.cloud.binaryauthorization.v1beta1.Policy result) { + private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.Policy result) { if (admissionWhitelistPatternsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = - java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); bitField0_ = (bitField0_ & ~0x00000008); } result.admissionWhitelistPatterns_ = admissionWhitelistPatterns_; @@ -1646,23 +1380,22 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Policy r result.kubernetesNamespaceAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.kubernetesServiceAccountAdmissionRules_ = - internalGetKubernetesServiceAccountAdmissionRules(); + result.kubernetesServiceAccountAdmissionRules_ = internalGetKubernetesServiceAccountAdmissionRules(); result.kubernetesServiceAccountAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.istioServiceIdentityAdmissionRules_ = - internalGetIstioServiceIdentityAdmissionRules(); + result.istioServiceIdentityAdmissionRules_ = internalGetIstioServiceIdentityAdmissionRules(); result.istioServiceIdentityAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.defaultAdmissionRule_ = - defaultAdmissionRuleBuilder_ == null - ? defaultAdmissionRule_ - : defaultAdmissionRuleBuilder_.build(); + result.defaultAdmissionRule_ = defaultAdmissionRuleBuilder_ == null + ? defaultAdmissionRule_ + : defaultAdmissionRuleBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); } } @@ -1670,39 +1403,38 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Policy r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.Policy) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Policy) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Policy)other); } else { super.mergeFrom(other); return this; @@ -1710,8 +1442,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Policy other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) - return this; + if (other == com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1743,25 +1474,25 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Policy oth admissionWhitelistPatternsBuilder_ = null; admissionWhitelistPatterns_ = other.admissionWhitelistPatterns_; bitField0_ = (bitField0_ & ~0x00000008); - admissionWhitelistPatternsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAdmissionWhitelistPatternsFieldBuilder() - : null; + admissionWhitelistPatternsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAdmissionWhitelistPatternsFieldBuilder() : null; } else { admissionWhitelistPatternsBuilder_.addAllMessages(other.admissionWhitelistPatterns_); } } } - internalGetMutableClusterAdmissionRules().mergeFrom(other.internalGetClusterAdmissionRules()); + internalGetMutableClusterAdmissionRules().mergeFrom( + other.internalGetClusterAdmissionRules()); bitField0_ |= 0x00000010; - internalGetMutableKubernetesNamespaceAdmissionRules() - .mergeFrom(other.internalGetKubernetesNamespaceAdmissionRules()); + internalGetMutableKubernetesNamespaceAdmissionRules().mergeFrom( + other.internalGetKubernetesNamespaceAdmissionRules()); bitField0_ |= 0x00000020; - internalGetMutableKubernetesServiceAccountAdmissionRules() - .mergeFrom(other.internalGetKubernetesServiceAccountAdmissionRules()); + internalGetMutableKubernetesServiceAccountAdmissionRules().mergeFrom( + other.internalGetKubernetesServiceAccountAdmissionRules()); bitField0_ |= 0x00000040; - internalGetMutableIstioServiceIdentityAdmissionRules() - .mergeFrom(other.internalGetIstioServiceIdentityAdmissionRules()); + internalGetMutableIstioServiceIdentityAdmissionRules().mergeFrom( + other.internalGetIstioServiceIdentityAdmissionRules()); bitField0_ |= 0x00000080; if (other.hasDefaultAdmissionRule()) { mergeDefaultAdmissionRule(other.getDefaultAdmissionRule()); @@ -1795,128 +1526,90 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - .parser(), - extensionRegistry); - if (admissionWhitelistPatternsBuilder_ == null) { - ensureAdmissionWhitelistPatternsIsMutable(); - admissionWhitelistPatterns_.add(m); - } else { - admissionWhitelistPatternsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - clusterAdmissionRules__ = - input.readMessage( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableClusterAdmissionRules() - .getMutableMap() - .put(clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: - { - input.readMessage( - getDefaultAdmissionRuleFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: - { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 50 - case 56: - { - globalPolicyEvaluationMode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 56 - case 66: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesServiceAccountAdmissionRules__ = - input.readMessage( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableKubernetesServiceAccountAdmissionRules() - .getMutableMap() - .put( - kubernetesServiceAccountAdmissionRules__.getKey(), - kubernetesServiceAccountAdmissionRules__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - istioServiceIdentityAdmissionRules__ = - input.readMessage( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableIstioServiceIdentityAdmissionRules() - .getMutableMap() - .put( - istioServiceIdentityAdmissionRules__.getKey(), - istioServiceIdentityAdmissionRules__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesNamespaceAdmissionRules__ = - input.readMessage( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry - .getParserForType(), - extensionRegistry); - internalGetMutableKubernetesNamespaceAdmissionRules() - .getMutableMap() - .put( - kubernetesNamespaceAdmissionRules__.getKey(), - kubernetesNamespaceAdmissionRules__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.parser(), + extensionRegistry); + if (admissionWhitelistPatternsBuilder_ == null) { + ensureAdmissionWhitelistPatternsIsMutable(); + admissionWhitelistPatterns_.add(m); + } else { + admissionWhitelistPatternsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.protobuf.MapEntry + clusterAdmissionRules__ = input.readMessage( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableClusterAdmissionRules().getMutableMap().put( + clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: { + input.readMessage( + getDefaultAdmissionRuleFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 50 + case 56: { + globalPolicyEvaluationMode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 66: { + com.google.protobuf.MapEntry + kubernetesServiceAccountAdmissionRules__ = input.readMessage( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put( + kubernetesServiceAccountAdmissionRules__.getKey(), kubernetesServiceAccountAdmissionRules__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: { + com.google.protobuf.MapEntry + istioServiceIdentityAdmissionRules__ = input.readMessage( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put( + istioServiceIdentityAdmissionRules__.getKey(), istioServiceIdentityAdmissionRules__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: { + com.google.protobuf.MapEntry + kubernetesNamespaceAdmissionRules__ = input.readMessage( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put( + kubernetesNamespaceAdmissionRules__.getKey(), kubernetesNamespaceAdmissionRules__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1926,26 +1619,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1954,22 +1644,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1977,37 +1666,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2017,22 +1699,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2042,20 +1720,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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; @@ -2064,21 +1740,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @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 { @@ -2086,35 +1761,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2124,21 +1792,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2148,8 +1812,6 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private int globalPolicyEvaluationMode_ = 0; /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -2157,19 +1819,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override - public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -2177,10 +1833,7 @@ public int getGlobalPolicyEvaluationModeValue() {
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for globalPolicyEvaluationMode to set. * @return This builder for chaining. */ @@ -2191,8 +1844,6 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) { return this; } /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -2200,26 +1851,15 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) {
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The globalPolicyEvaluationMode. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode - getGlobalPolicyEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber( - globalPolicyEvaluationMode_); - return result == null - ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode - .UNRECOGNIZED - : result; + public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); + return result == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; } /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -2227,15 +1867,11 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) {
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param value The globalPolicyEvaluationMode to set. * @return This builder for chaining. */ - public Builder setGlobalPolicyEvaluationMode( - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode value) { + public Builder setGlobalPolicyEvaluationMode(com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode value) { if (value == null) { throw new NullPointerException(); } @@ -2245,8 +1881,6 @@ public Builder setGlobalPolicyEvaluationMode( return this; } /** - * - * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -2254,10 +1888,7 @@ public Builder setGlobalPolicyEvaluationMode(
      * has no effect when specified inside a global admission policy.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearGlobalPolicyEvaluationMode() { @@ -2267,40 +1898,28 @@ public Builder clearGlobalPolicyEvaluationMode() { return this; } - private java.util.List - admissionWhitelistPatterns_ = java.util.Collections.emptyList(); - + private java.util.List admissionWhitelistPatterns_ = + java.util.Collections.emptyList(); private void ensureAdmissionWhitelistPatternsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = - new java.util.ArrayList< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern>( - admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = new java.util.ArrayList(admissionWhitelistPatterns_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> - admissionWhitelistPatternsBuilder_; + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> admissionWhitelistPatternsBuilder_; /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAdmissionWhitelistPatternsList() { + public java.util.List getAdmissionWhitelistPatternsList() { if (admissionWhitelistPatternsBuilder_ == null) { return java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); } else { @@ -2308,17 +1927,13 @@ private void ensureAdmissionWhitelistPatternsIsMutable() { } } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAdmissionWhitelistPatternsCount() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2328,20 +1943,15 @@ public int getAdmissionWhitelistPatternsCount() { } } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - getAdmissionWhitelistPatterns(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { return admissionWhitelistPatterns_.get(index); } else { @@ -2349,17 +1959,13 @@ public int getAdmissionWhitelistPatternsCount() { } } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAdmissionWhitelistPatterns( int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { @@ -2376,22 +1982,16 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAdmissionWhitelistPatterns( - int index, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder - builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.set(index, builderForValue.build()); @@ -2402,20 +2002,15 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addAdmissionWhitelistPatterns( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { + public Builder addAdmissionWhitelistPatterns(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2429,17 +2024,13 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAdmissionWhitelistPatterns( int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { @@ -2456,21 +2047,16 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAdmissionWhitelistPatterns( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder - builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(builderForValue.build()); @@ -2481,22 +2067,16 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAdmissionWhitelistPatterns( - int index, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder - builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(index, builderForValue.build()); @@ -2507,25 +2087,20 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAdmissionWhitelistPatterns( - java.lang.Iterable< - ? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern> - values) { + java.lang.Iterable values) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, admissionWhitelistPatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, admissionWhitelistPatterns_); onChanged(); } else { admissionWhitelistPatternsBuilder_.addAllMessages(values); @@ -2533,17 +2108,13 @@ public Builder addAllAdmissionWhitelistPatterns( return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAdmissionWhitelistPatterns() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2556,17 +2127,13 @@ public Builder clearAdmissionWhitelistPatterns() { return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2579,60 +2146,45 @@ public Builder removeAdmissionWhitelistPatterns(int index) { return this; } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder - getAdmissionWhitelistPatternsBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder getAdmissionWhitelistPatternsBuilder( + int index) { return getAdmissionWhitelistPatternsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder - getAdmissionWhitelistPatternsOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( + int index) { if (admissionWhitelistPatternsBuilder_ == null) { - return admissionWhitelistPatterns_.get(index); - } else { + return admissionWhitelistPatterns_.get(index); } else { return admissionWhitelistPatternsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> - getAdmissionWhitelistPatternsOrBuilderList() { + public java.util.List + getAdmissionWhitelistPatternsOrBuilderList() { if (admissionWhitelistPatternsBuilder_ != null) { return admissionWhitelistPatternsBuilder_.getMessageOrBuilderList(); } else { @@ -2640,76 +2192,51 @@ public Builder removeAdmissionWhitelistPatterns(int index) { } } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder - addAdmissionWhitelistPatternsBuilder() { - return getAdmissionWhitelistPatternsFieldBuilder() - .addBuilder( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - .getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder() { + return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance()); } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder - addAdmissionWhitelistPatternsBuilder(int index) { - return getAdmissionWhitelistPatternsFieldBuilder() - .addBuilder( - index, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - .getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder( + int index) { + return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( + index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance()); } /** - * - * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder> - getAdmissionWhitelistPatternsBuilderList() { + public java.util.List + getAdmissionWhitelistPatternsBuilderList() { return getAdmissionWhitelistPatternsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsFieldBuilder() { if (admissionWhitelistPatternsBuilder_ == null) { - admissionWhitelistPatternsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder>( + admissionWhitelistPatternsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder>( admissionWhitelistPatterns_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -2720,11 +2247,8 @@ public Builder removeAdmissionWhitelistPatterns(int index) { } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - clusterAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> clusterAdmissionRules_; + private com.google.protobuf.MapField internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2732,14 +2256,11 @@ public Builder removeAdmissionWhitelistPatterns(int index) { } return clusterAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { - clusterAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); + clusterAdmissionRules_ = com.google.protobuf.MapField.newMapField( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!clusterAdmissionRules_.isMutable()) { clusterAdmissionRules_ = clusterAdmissionRules_.copy(); @@ -2748,13 +2269,10 @@ public Builder removeAdmissionWhitelistPatterns(int index) { onChanged(); return clusterAdmissionRules_; } - public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2765,28 +2283,23 @@ public int getClusterAdmissionRulesCount() {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsClusterAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getClusterAdmissionRulesMap()} instead. */ + /** + * Use {@link #getClusterAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getClusterAdmissionRules() { + public java.util.Map getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2797,19 +2310,13 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getClusterAdmissionRulesMap() { + public java.util.Map getClusterAdmissionRulesMap() { return internalGetClusterAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2820,26 +2327,20 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getClusterAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetClusterAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2850,32 +2351,26 @@ public boolean containsClusterAdmissionRules(java.lang.String key) {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getClusterAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetClusterAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearClusterAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableClusterAdmissionRules().getMutableMap().clear(); + internalGetMutableClusterAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2886,28 +2381,25 @@ public Builder clearClusterAdmissionRules() {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeClusterAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusterAdmissionRules().getMutableMap().remove(key); + public Builder removeClusterAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusterAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + public java.util.Map getMutableClusterAdmissionRules() { bitField0_ |= 0x00000010; return internalGetMutableClusterAdmissionRules().getMutableMap(); } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2918,25 +2410,19 @@ public Builder removeClusterAdmissionRules(java.lang.String key) {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putClusterAdmissionRules( - java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusterAdmissionRules().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusterAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000010; return this; } /** - * - * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2947,24 +2433,19 @@ public Builder putClusterAdmissionRules(
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllClusterAdmissionRules( - java.util.Map - values) { - internalGetMutableClusterAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableClusterAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000010; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesNamespaceAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesNamespaceAdmissionRules_; + private com.google.protobuf.MapField internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2972,14 +2453,11 @@ public Builder putAllClusterAdmissionRules( } return kubernetesNamespaceAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { - kubernetesNamespaceAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesNamespaceAdmissionRules_ = com.google.protobuf.MapField.newMapField( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesNamespaceAdmissionRules_.isMutable()) { kubernetesNamespaceAdmissionRules_ = kubernetesNamespaceAdmissionRules_.copy(); @@ -2988,188 +2466,148 @@ public Builder putAllClusterAdmissionRules( onChanged(); return kubernetesNamespaceAdmissionRules_; } - public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesNamespaceAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getKubernetesNamespaceAdmissionRules() { + public java.util.Map getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearKubernetesNamespaceAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().clear(); + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeKubernetesNamespaceAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().remove(key); + public Builder removeKubernetesNamespaceAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + public java.util.Map getMutableKubernetesNamespaceAdmissionRules() { bitField0_ |= 0x00000020; return internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap(); } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putKubernetesNamespaceAdmissionRules( - java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000020; return this; } /** - * - * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllKubernetesNamespaceAdmissionRules( - java.util.Map - values) { - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000020; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - kubernetesServiceAccountAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesServiceAccountAdmissionRules_; + private com.google.protobuf.MapField internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3177,14 +2615,11 @@ public Builder putAllKubernetesNamespaceAdmissionRules( } return kubernetesServiceAccountAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { - kubernetesServiceAccountAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesServiceAccountAdmissionRules_ = com.google.protobuf.MapField.newMapField( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesServiceAccountAdmissionRules_.isMutable()) { kubernetesServiceAccountAdmissionRules_ = kubernetesServiceAccountAdmissionRules_.copy(); @@ -3193,188 +2628,148 @@ public Builder putAllKubernetesNamespaceAdmissionRules( onChanged(); return kubernetesServiceAccountAdmissionRules_; } - public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsKubernetesServiceAccountAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ + /** + * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getKubernetesServiceAccountAdmissionRules() { + public java.util.Map getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearKubernetesServiceAccountAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().clear(); + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeKubernetesServiceAccountAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().remove(key); + public Builder removeKubernetesServiceAccountAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + public java.util.Map getMutableKubernetesServiceAccountAdmissionRules() { bitField0_ |= 0x00000040; return internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap(); } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putKubernetesServiceAccountAdmissionRules( - java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000040; return this; } /** - * - * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllKubernetesServiceAccountAdmissionRules( - java.util.Map - values) { - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000040; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - istioServiceIdentityAdmissionRules_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> istioServiceIdentityAdmissionRules_; + private com.google.protobuf.MapField internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3382,14 +2777,11 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( } return istioServiceIdentityAdmissionRules_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + private com.google.protobuf.MapField internalGetMutableIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { - istioServiceIdentityAdmissionRules_ = - com.google.protobuf.MapField.newMapField( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); + istioServiceIdentityAdmissionRules_ = com.google.protobuf.MapField.newMapField( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!istioServiceIdentityAdmissionRules_.isMutable()) { istioServiceIdentityAdmissionRules_ = istioServiceIdentityAdmissionRules_.copy(); @@ -3398,13 +2790,10 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( onChanged(); return istioServiceIdentityAdmissionRules_; } - public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -3413,28 +2802,23 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsIstioServiceIdentityAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ + /** + * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getIstioServiceIdentityAdmissionRules() { + public java.util.Map getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -3443,19 +2827,13 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> - getIstioServiceIdentityAdmissionRulesMap() { + public java.util.Map getIstioServiceIdentityAdmissionRulesMap() { return internalGetIstioServiceIdentityAdmissionRules().getMap(); } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -3464,26 +2842,20 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -3492,32 +2864,26 @@ public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key)
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map - map = internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearIstioServiceIdentityAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().clear(); + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .clear(); return this; } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -3526,28 +2892,25 @@ public Builder clearIstioServiceIdentityAdmissionRules() {
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder removeIstioServiceIdentityAdmissionRules(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().remove(key); + public Builder removeIstioServiceIdentityAdmissionRules( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + public java.util.Map getMutableIstioServiceIdentityAdmissionRules() { bitField0_ |= 0x00000080; return internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap(); } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -3556,25 +2919,19 @@ public Builder removeIstioServiceIdentityAdmissionRules(java.lang.String key) {
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putIstioServiceIdentityAdmissionRules( - java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put(key, value); + java.lang.String key, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .put(key, value); bitField0_ |= 0x00000080; return this; } /** - * - * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -3583,78 +2940,56 @@ public Builder putIstioServiceIdentityAdmissionRules(
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder putAllIstioServiceIdentityAdmissionRules( - java.util.Map - values) { - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() + .putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultAdmissionRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> - defaultAdmissionRuleBuilder_; + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> defaultAdmissionRuleBuilder_; /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the defaultAdmissionRule field is set. */ public boolean hasDefaultAdmissionRule() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The defaultAdmissionRule. */ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultAdmissionRule() { if (defaultAdmissionRuleBuilder_ == null) { - return defaultAdmissionRule_ == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() - : defaultAdmissionRule_; + return defaultAdmissionRule_ == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } else { return defaultAdmissionRuleBuilder_.getMessage(); } } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setDefaultAdmissionRule( - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + public Builder setDefaultAdmissionRule(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3668,16 +3003,12 @@ public Builder setDefaultAdmissionRule( return this; } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDefaultAdmissionRule( com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder builderForValue) { @@ -3691,25 +3022,18 @@ public Builder setDefaultAdmissionRule( return this; } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeDefaultAdmissionRule( - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + public Builder mergeDefaultAdmissionRule(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && defaultAdmissionRule_ != null - && defaultAdmissionRule_ - != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - .getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + defaultAdmissionRule_ != null && + defaultAdmissionRule_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()) { getDefaultAdmissionRuleBuilder().mergeFrom(value); } else { defaultAdmissionRule_ = value; @@ -3722,16 +3046,12 @@ public Builder mergeDefaultAdmissionRule( return this; } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDefaultAdmissionRule() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3744,69 +3064,51 @@ public Builder clearDefaultAdmissionRule() { return this; } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder - getDefaultAdmissionRuleBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder getDefaultAdmissionRuleBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDefaultAdmissionRuleFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder - getDefaultAdmissionRuleOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { if (defaultAdmissionRuleBuilder_ != null) { return defaultAdmissionRuleBuilder_.getMessageOrBuilder(); } else { - return defaultAdmissionRule_ == null - ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() - : defaultAdmissionRule_; + return defaultAdmissionRule_ == null ? + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; } } /** - * - * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> getDefaultAdmissionRuleFieldBuilder() { if (defaultAdmissionRuleBuilder_ == null) { - defaultAdmissionRuleBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder>( - getDefaultAdmissionRule(), getParentForChildren(), isClean()); + defaultAdmissionRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder>( + getDefaultAdmissionRule(), + getParentForChildren(), + isClean()); defaultAdmissionRule_ = null; } return defaultAdmissionRuleBuilder_; @@ -3814,58 +3116,39 @@ public Builder clearDefaultAdmissionRule() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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 ((bitField0_ & 0x00000200) != 0); } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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. Time when the policy was last updated.
      * 
* - * - * .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) { @@ -3881,17 +3164,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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(); } else { @@ -3902,21 +3182,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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 (((bitField0_ & 0x00000200) != 0) - && updateTime_ != null - && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) && + updateTime_ != null && + updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3929,15 +3205,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3950,15 +3222,11 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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() { bitField0_ |= 0x00000200; @@ -3966,55 +3234,43 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Time when the policy was last updated.
      * 
* - * - * .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. Time when the policy was last updated.
      * 
* - * - * .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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4024,12 +3280,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.Policy) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.Policy) private static final com.google.cloud.binaryauthorization.v1beta1.Policy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.Policy(); } @@ -4038,27 +3294,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.Policy getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4073,4 +3329,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.Policy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java similarity index 57% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java index 0ce831aa162c..e393c534972c 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java @@ -1,83 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface PolicyOrBuilder - extends +public interface PolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.Policy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -85,16 +57,11 @@ public interface PolicyOrBuilder
    * has no effect when specified inside a global admission policy.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ int getGlobalPolicyEvaluationModeValue(); /** - * - * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -102,94 +69,66 @@ public interface PolicyOrBuilder
    * has no effect when specified inside a global admission policy.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return The globalPolicyEvaluationMode. */ - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode - getGlobalPolicyEvaluationMode(); + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode(); /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getAdmissionWhitelistPatternsList(); /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern - getAdmissionWhitelistPatterns(int index); + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index); /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getAdmissionWhitelistPatternsCount(); /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List< - ? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> + java.util.List getAdmissionWhitelistPatternsOrBuilderList(); /** - * - * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder - getAdmissionWhitelistPatternsOrBuilder(int index); + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( + int index); /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -200,14 +139,10 @@ public interface PolicyOrBuilder
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getClusterAdmissionRulesCount(); /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -218,18 +153,17 @@ public interface PolicyOrBuilder
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsClusterAdmissionRules( + java.lang.String key); + /** + * Use {@link #getClusterAdmissionRulesMap()} instead. */ - boolean containsClusterAdmissionRules(java.lang.String key); - /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getClusterAdmissionRules(); + getClusterAdmissionRules(); /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -240,15 +174,11 @@ public interface PolicyOrBuilder
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map - getClusterAdmissionRulesMap(); + getClusterAdmissionRulesMap(); /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -259,18 +189,14 @@ public interface PolicyOrBuilder
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault( +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault( java.lang.String key, /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** - * - * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -281,170 +207,130 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrThrow( java.lang.String key); /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ int getKubernetesNamespaceAdmissionRulesCount(); /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsKubernetesNamespaceAdmissionRules( + java.lang.String key); + /** + * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ - boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key); - /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getKubernetesNamespaceAdmissionRules(); + getKubernetesNamespaceAdmissionRules(); /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map - getKubernetesNamespaceAdmissionRulesMap(); + getKubernetesNamespaceAdmissionRulesMap(); /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** - * - * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ int getKubernetesServiceAccountAdmissionRulesCount(); /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsKubernetesServiceAccountAdmissionRules( + java.lang.String key); + /** + * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ - boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key); - /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getKubernetesServiceAccountAdmissionRules(); + getKubernetesServiceAccountAdmissionRules(); /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map - getKubernetesServiceAccountAdmissionRulesMap(); + getKubernetesServiceAccountAdmissionRulesMap(); /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** - * - * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( + java.lang.String key); /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -453,14 +339,10 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ int getIstioServiceIdentityAdmissionRulesCount(); /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -469,18 +351,17 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsIstioServiceIdentityAdmissionRules( + java.lang.String key); + /** + * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ - boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key); - /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getIstioServiceIdentityAdmissionRules(); + getIstioServiceIdentityAdmissionRules(); /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -489,15 +370,11 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map - getIstioServiceIdentityAdmissionRulesMap(); + getIstioServiceIdentityAdmissionRulesMap(); /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -506,19 +383,14 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ +com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** - * - * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -527,93 +399,65 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule - getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( + java.lang.String key); /** - * - * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the defaultAdmissionRule field is set. */ boolean hasDefaultAdmissionRule(); /** - * - * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The defaultAdmissionRule. */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultAdmissionRule(); /** - * - * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder - getDefaultAdmissionRuleOrBuilder(); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder(); /** - * - * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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. Time when the policy was last updated.
    * 
* - * .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. Time when the policy was last updated.
    * 
* - * .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(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java similarity index 62% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java index 117ffb1a9502..4287be1e2410 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request message for [BinauthzManagementService.UpdateAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest} */ -public final class UpdateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAttestorRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) UpdateAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAttestorRequest.newBuilder() to construct. private UpdateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAttestorRequest() {} + private UpdateAttestorRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); } public static final int ATTESTOR_FIELD_NUMBER = 1; private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; /** - * - * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ @java.lang.Override @@ -82,48 +59,34 @@ public boolean hasAttestor() { return attestor_ != null; } /** - * - * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } /** - * - * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (attestor_ != null) { output.writeMessage(1, getAttestor()); } @@ -149,7 +113,8 @@ public int getSerializedSize() { size = 0; if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttestor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -159,17 +124,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.binaryauthorization.v1beta1.UpdateAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other = - (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) obj; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor().equals(other.getAttestor())) return false; + if (!getAttestor() + .equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -192,138 +157,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.UpdateAttestorRequest parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.UpdateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); } - // Construct using - // com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.newBuilder() - private Builder() {} + // Construct using com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -337,16 +295,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - .getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.getDefaultInstance(); } @java.lang.Override @@ -360,20 +316,18 @@ public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result = - new com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null + ? attestor_ + : attestorBuilder_.build(); } } @@ -381,51 +335,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) { - return mergeFrom( - (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.getDefaultInstance()) return this; if (other.hasAttestor()) { mergeAttestor(other.getAttestor()); } @@ -455,19 +404,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAttestorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -477,69 +426,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> - attestorBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> attestorBuilder_; /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } else { return attestorBuilder_.getMessage(); } } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { @@ -555,17 +484,13 @@ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor return this; } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAttestor( com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder builderForValue) { @@ -579,24 +504,19 @@ public Builder setAttestor( return this; } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && attestor_ != null - && attestor_ - != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + attestor_ != null && + attestor_ != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -609,17 +529,13 @@ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attest return this; } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000001); @@ -632,17 +548,13 @@ public Builder clearAttestor() { return this; } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestorBuilder() { bitField0_ |= 0x00000001; @@ -650,59 +562,47 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor return getAttestorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() - : attestor_; + return attestor_ == null ? + com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; } } /** - * - * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, - com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( - getAttestor(), getParentForChildren(), isClean()); + attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( + getAttestor(), + getParentForChildren(), + isClean()); attestor_ = null; } return attestorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -712,43 +612,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -760,8 +658,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java similarity index 59% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java index 40d4f458c8c7..a653636df709 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java @@ -1,72 +1,42 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface UpdateAttestorRequestOrBuilder - extends +public interface UpdateAttestorRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the attestor field is set. */ boolean hasAttestor(); /** - * - * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The attestor. */ com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor(); /** - * - * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java similarity index 63% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java index dcf23b0cbc40..7b802bff6450 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * Request message for [BinauthzManagementService.UpdatePolicy][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest} */ -public final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdatePolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) UpdatePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdatePolicyRequest.newBuilder() to construct. private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdatePolicyRequest() {} + private UpdatePolicyRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdatePolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); } public static final int POLICY_FIELD_NUMBER = 1; private com.google.cloud.binaryauthorization.v1beta1.Policy policy_; /** - * - * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the policy field is set. */ @java.lang.Override @@ -82,48 +59,34 @@ public boolean hasPolicy() { return policy_ != null; } /** - * - * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The policy. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy() { - return policy_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() - : policy_; + return policy_ == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; } /** - * - * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder getPolicyOrBuilder() { - return policy_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() - : policy_; + return policy_ == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -149,7 +113,8 @@ public int getSerializedSize() { size = 0; if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPolicy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -159,17 +124,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.binaryauthorization.v1beta1.UpdatePolicyRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other = - (com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other = (com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) obj; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy().equals(other.getPolicy())) return false; + if (!getPolicy() + .equals(other.getPolicy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -192,136 +157,131 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.UpdatePolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -335,14 +295,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto - .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance(); } @@ -357,20 +316,18 @@ public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest build() @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result = - new com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result = new com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result) { + private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null + ? policy_ + : policyBuilder_.build(); } } @@ -378,50 +335,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other) { - if (other - == com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other) { + if (other == com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance()) return this; if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } @@ -451,19 +404,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPolicyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,69 +426,49 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.cloud.binaryauthorization.v1beta1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Policy, - com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, - com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> - policyBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Policy, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> policyBuilder_; /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The policy. */ public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy() { if (policyBuilder_ == null) { - return policy_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() - : policy_; + return policy_ == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; } else { return policyBuilder_.getMessage(); } } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPolicy(com.google.cloud.binaryauthorization.v1beta1.Policy value) { if (policyBuilder_ == null) { @@ -551,17 +484,13 @@ public Builder setPolicy(com.google.cloud.binaryauthorization.v1beta1.Policy val return this; } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPolicy( com.google.cloud.binaryauthorization.v1beta1.Policy.Builder builderForValue) { @@ -575,24 +504,19 @@ public Builder setPolicy( return this; } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePolicy(com.google.cloud.binaryauthorization.v1beta1.Policy value) { if (policyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && policy_ != null - && policy_ - != com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + policy_ != null && + policy_ != com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) { getPolicyBuilder().mergeFrom(value); } else { policy_ = value; @@ -605,17 +529,13 @@ public Builder mergePolicy(com.google.cloud.binaryauthorization.v1beta1.Policy v return this; } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPolicy() { bitField0_ = (bitField0_ & ~0x00000001); @@ -628,17 +548,13 @@ public Builder clearPolicy() { return this; } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.binaryauthorization.v1beta1.Policy.Builder getPolicyBuilder() { bitField0_ |= 0x00000001; @@ -646,59 +562,47 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy.Builder getPolicyBuil return getPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder getPolicyOrBuilder() { if (policyBuilder_ != null) { return policyBuilder_.getMessageOrBuilder(); } else { - return policy_ == null - ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() - : policy_; + return policy_ == null ? + com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; } } /** - * - * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Policy, - com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, - com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Policy, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> getPolicyFieldBuilder() { if (policyBuilder_ == null) { - policyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Policy, - com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, - com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder>( - getPolicy(), getParentForChildren(), isClean()); + policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Policy, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder>( + getPolicy(), + getParentForChildren(), + isClean()); policy_ = null; } return policyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,43 +612,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,8 +658,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java similarity index 59% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java index eddd317517fb..ef5dfec828b1 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java @@ -1,72 +1,42 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface UpdatePolicyRequestOrBuilder - extends +public interface UpdatePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the policy field is set. */ boolean hasPolicy(); /** - * - * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The policy. */ com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy(); /** - * - * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder getPolicyOrBuilder(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java similarity index 70% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java index 236dd0433f52..4b9c678d4d4c 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** - * - * *
  * An [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock
  * ATTESTATION_AUTHORITY Note created by the user.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote}
  */
-public final class UserOwnedDrydockNote extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UserOwnedDrydockNote extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote)
     UserOwnedDrydockNoteOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UserOwnedDrydockNote.newBuilder() to construct.
   private UserOwnedDrydockNote(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UserOwnedDrydockNote() {
     noteReference_ = "";
     publicKeys_ = java.util.Collections.emptyList();
@@ -46,32 +28,28 @@ private UserOwnedDrydockNote() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UserOwnedDrydockNote();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-        .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class,
-            com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
   }
 
   public static final int NOTE_REFERENCE_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object noteReference_ = "";
   /**
-   *
-   *
    * 
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -83,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The noteReference. */ @java.lang.Override @@ -92,15 +69,14 @@ public java.lang.String getNoteReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; } } /** - * - * *
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -112,15 +88,16 @@ public java.lang.String getNoteReference() {
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for noteReference. */ @java.lang.Override - public com.google.protobuf.ByteString getNoteReferenceBytes() { + public com.google.protobuf.ByteString + getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); noteReference_ = b; return b; } else { @@ -129,13 +106,9 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() { } public static final int PUBLIC_KEYS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List - publicKeys_; + private java.util.List publicKeys_; /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -148,18 +121,13 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List - getPublicKeysList() { + public java.util.List getPublicKeysList() { return publicKeys_; } /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -172,19 +140,14 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> + public java.util.List getPublicKeysOrBuilderList() { return publicKeys_; } /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -197,17 +160,13 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public int getPublicKeysCount() { return publicKeys_.size(); } /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -220,17 +179,13 @@ public int getPublicKeysCount() {
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicKeys(int index) { return publicKeys_.get(index); } /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -243,23 +198,18 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicK
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder - getPublicKeysOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( + int index) { return publicKeys_.get(index); } public static final int DELEGATION_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object delegationServiceAccountEmail_ = ""; /** - * - * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -272,9 +222,7 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicK
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The delegationServiceAccountEmail. */ @java.lang.Override @@ -283,15 +231,14 @@ public java.lang.String getDelegationServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; } } /** - * - * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -304,17 +251,17 @@ public java.lang.String getDelegationServiceAccountEmail() {
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for delegationServiceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -323,7 +270,6 @@ public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -335,7 +281,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(noteReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, noteReference_); } @@ -358,12 +305,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, noteReference_); } for (int i = 0; i < publicKeys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, publicKeys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, publicKeys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delegationServiceAccountEmail_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 3, delegationServiceAccountEmail_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, delegationServiceAccountEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,18 +319,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.binaryauthorization.v1beta1.UserOwnedDrydockNote)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other = - (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) obj; + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other = (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) obj; - if (!getNoteReference().equals(other.getNoteReference())) return false; - if (!getPublicKeysList().equals(other.getPublicKeysList())) return false; - if (!getDelegationServiceAccountEmail().equals(other.getDelegationServiceAccountEmail())) - return false; + if (!getNoteReference() + .equals(other.getNoteReference())) return false; + if (!getPublicKeysList() + .equals(other.getPublicKeysList())) return false; + if (!getDelegationServiceAccountEmail() + .equals(other.getDelegationServiceAccountEmail())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -410,105 +357,98 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.UserOwnedDrydockNote parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote prototype) { + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock
    * ATTESTATION_AUTHORITY Note created by the user.
@@ -516,33 +456,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote)
       com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class,
-              com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,14 +500,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
-          .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote
-        getDefaultInstanceForType() {
+    public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getDefaultInstanceForType() {
       return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance();
     }
 
@@ -582,18 +521,14 @@ public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote build()
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result =
-          new com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote(this);
+      com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result = new com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
+    private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
       if (publicKeysBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           publicKeys_ = java.util.Collections.unmodifiableList(publicKeys_);
@@ -605,8 +540,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
+    private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.noteReference_ = noteReference_;
@@ -620,50 +554,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other) {
-      if (other
-          == com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other) {
+      if (other == com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance()) return this;
       if (!other.getNoteReference().isEmpty()) {
         noteReference_ = other.noteReference_;
         bitField0_ |= 0x00000001;
@@ -687,10 +617,9 @@ public Builder mergeFrom(
             publicKeysBuilder_ = null;
             publicKeys_ = other.publicKeys_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            publicKeysBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPublicKeysFieldBuilder()
-                    : null;
+            publicKeysBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPublicKeysFieldBuilder() : null;
           } else {
             publicKeysBuilder_.addAllMessages(other.publicKeys_);
           }
@@ -727,39 +656,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                noteReference_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey m =
-                    input.readMessage(
-                        com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.parser(),
-                        extensionRegistry);
-                if (publicKeysBuilder_ == null) {
-                  ensurePublicKeysIsMutable();
-                  publicKeys_.add(m);
-                } else {
-                  publicKeysBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 26:
-              {
-                delegationServiceAccountEmail_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              noteReference_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey m =
+                  input.readMessage(
+                      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.parser(),
+                      extensionRegistry);
+              if (publicKeysBuilder_ == null) {
+                ensurePublicKeysIsMutable();
+                publicKeys_.add(m);
+              } else {
+                publicKeysBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 26: {
+              delegationServiceAccountEmail_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -769,13 +694,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object noteReference_ = "";
     /**
-     *
-     *
      * 
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -787,13 +709,13 @@ public Builder mergeFrom(
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The noteReference. */ public java.lang.String getNoteReference() { java.lang.Object ref = noteReference_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; @@ -802,8 +724,6 @@ public java.lang.String getNoteReference() { } } /** - * - * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -815,14 +735,15 @@ public java.lang.String getNoteReference() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for noteReference. */ - public com.google.protobuf.ByteString getNoteReferenceBytes() { + public com.google.protobuf.ByteString + getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); noteReference_ = b; return b; } else { @@ -830,8 +751,6 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() { } } /** - * - * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -843,22 +762,18 @@ public com.google.protobuf.ByteString getNoteReferenceBytes() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReference(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNoteReference( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } noteReference_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -870,7 +785,6 @@ public Builder setNoteReference(java.lang.String value) {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNoteReference() { @@ -880,8 +794,6 @@ public Builder clearNoteReference() { return this; } /** - * - * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -893,14 +805,12 @@ public Builder clearNoteReference() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReferenceBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNoteReferenceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); noteReference_ = value; bitField0_ |= 0x00000001; @@ -908,27 +818,19 @@ public Builder setNoteReferenceBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - publicKeys_ = java.util.Collections.emptyList(); - + private java.util.List publicKeys_ = + java.util.Collections.emptyList(); private void ensurePublicKeysIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - publicKeys_ = - new java.util.ArrayList( - publicKeys_); + publicKeys_ = new java.util.ArrayList(publicKeys_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> - publicKeysBuilder_; + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> publicKeysBuilder_; /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -941,12 +843,9 @@ private void ensurePublicKeysIsMutable() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPublicKeysList() { + public java.util.List getPublicKeysList() { if (publicKeysBuilder_ == null) { return java.util.Collections.unmodifiableList(publicKeys_); } else { @@ -954,8 +853,6 @@ private void ensurePublicKeysIsMutable() { } } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -968,9 +865,7 @@ private void ensurePublicKeysIsMutable() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public int getPublicKeysCount() { if (publicKeysBuilder_ == null) { @@ -980,8 +875,6 @@ public int getPublicKeysCount() { } } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -994,9 +887,7 @@ public int getPublicKeysCount() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicKeys(int index) { if (publicKeysBuilder_ == null) { @@ -1006,8 +897,6 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicK } } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1020,9 +909,7 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicK
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPublicKeys( int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { @@ -1039,8 +926,6 @@ public Builder setPublicKeys( return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1053,13 +938,10 @@ public Builder setPublicKeys(
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setPublicKeys( - int index, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.set(index, builderForValue.build()); @@ -1070,8 +952,6 @@ public Builder setPublicKeys( return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1084,12 +964,9 @@ public Builder setPublicKeys(
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder addPublicKeys( - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { + public Builder addPublicKeys(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1103,8 +980,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1117,9 +992,7 @@ public Builder addPublicKeys(
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPublicKeys( int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { @@ -1136,8 +1009,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1150,9 +1021,7 @@ public Builder addPublicKeys(
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPublicKeys( com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { @@ -1166,8 +1035,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1180,13 +1047,10 @@ public Builder addPublicKeys(
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addPublicKeys( - int index, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { + int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.add(index, builderForValue.build()); @@ -1197,8 +1061,6 @@ public Builder addPublicKeys( return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1211,16 +1073,14 @@ public Builder addPublicKeys(
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllPublicKeys( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, publicKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, publicKeys_); onChanged(); } else { publicKeysBuilder_.addAllMessages(values); @@ -1228,8 +1088,6 @@ public Builder addAllPublicKeys( return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1242,9 +1100,7 @@ public Builder addAllPublicKeys(
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearPublicKeys() { if (publicKeysBuilder_ == null) { @@ -1257,8 +1113,6 @@ public Builder clearPublicKeys() { return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1271,9 +1125,7 @@ public Builder clearPublicKeys() {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removePublicKeys(int index) { if (publicKeysBuilder_ == null) { @@ -1286,8 +1138,6 @@ public Builder removePublicKeys(int index) { return this; } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1300,17 +1150,13 @@ public Builder removePublicKeys(int index) {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder - getPublicKeysBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder getPublicKeysBuilder( + int index) { return getPublicKeysFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1323,21 +1169,16 @@ public Builder removePublicKeys(int index) {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder - getPublicKeysOrBuilder(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( + int index) { if (publicKeysBuilder_ == null) { - return publicKeys_.get(index); - } else { + return publicKeys_.get(index); } else { return publicKeysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1350,13 +1191,10 @@ public Builder removePublicKeys(int index) {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List< - ? extends com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> - getPublicKeysOrBuilderList() { + public java.util.List + getPublicKeysOrBuilderList() { if (publicKeysBuilder_ != null) { return publicKeysBuilder_.getMessageOrBuilderList(); } else { @@ -1364,8 +1202,6 @@ public Builder removePublicKeys(int index) { } } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1378,19 +1214,13 @@ public Builder removePublicKeys(int index) {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder - addPublicKeysBuilder() { - return getPublicKeysFieldBuilder() - .addBuilder( - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder addPublicKeysBuilder() { + return getPublicKeysFieldBuilder().addBuilder( + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1403,20 +1233,14 @@ public Builder removePublicKeys(int index) {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder - addPublicKeysBuilder(int index) { - return getPublicKeysFieldBuilder() - .addBuilder( - index, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder addPublicKeysBuilder( + int index) { + return getPublicKeysFieldBuilder().addBuilder( + index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); } /** - * - * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1429,27 +1253,22 @@ public Builder removePublicKeys(int index) {
      * valid attestations exist.
      * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getPublicKeysBuilderList() { + public java.util.List + getPublicKeysBuilderList() { return getPublicKeysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> getPublicKeysFieldBuilder() { if (publicKeysBuilder_ == null) { - publicKeysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder>( - publicKeys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + publicKeysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder>( + publicKeys_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); publicKeys_ = null; } return publicKeysBuilder_; @@ -1457,8 +1276,6 @@ public Builder removePublicKeys(int index) { private java.lang.Object delegationServiceAccountEmail_ = ""; /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1471,16 +1288,14 @@ public Builder removePublicKeys(int index) {
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The delegationServiceAccountEmail. */ public java.lang.String getDelegationServiceAccountEmail() { java.lang.Object ref = delegationServiceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; @@ -1489,8 +1304,6 @@ public java.lang.String getDelegationServiceAccountEmail() { } } /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1503,17 +1316,16 @@ public java.lang.String getDelegationServiceAccountEmail() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for delegationServiceAccountEmail. */ - public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -1521,8 +1333,6 @@ public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { } } /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1535,25 +1345,19 @@ public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmail(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelegationServiceAccountEmail( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1566,10 +1370,7 @@ public Builder setDelegationServiceAccountEmail(java.lang.String value) {
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearDelegationServiceAccountEmail() { @@ -1579,8 +1380,6 @@ public Builder clearDelegationServiceAccountEmail() { return this; } /** - * - * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1593,26 +1392,22 @@ public Builder clearDelegationServiceAccountEmail() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmailBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDelegationServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1622,43 +1417,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) - private static final com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - DEFAULT_INSTANCE; - + private static final com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote(); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserOwnedDrydockNote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserOwnedDrydockNote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1670,8 +1463,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote - getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java similarity index 75% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java index 4bfafdb2cd06..b20cee92c06f 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface UserOwnedDrydockNoteOrBuilder - extends +public interface UserOwnedDrydockNoteOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -37,13 +19,10 @@ public interface UserOwnedDrydockNoteOrBuilder
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The noteReference. */ java.lang.String getNoteReference(); /** - * - * *
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -55,14 +34,12 @@ public interface UserOwnedDrydockNoteOrBuilder
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for noteReference. */ - com.google.protobuf.ByteString getNoteReferenceBytes(); + com.google.protobuf.ByteString + getNoteReferenceBytes(); /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -75,15 +52,11 @@ public interface UserOwnedDrydockNoteOrBuilder
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getPublicKeysList(); /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -96,14 +69,10 @@ public interface UserOwnedDrydockNoteOrBuilder
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicKeys(int index); /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -116,14 +85,10 @@ public interface UserOwnedDrydockNoteOrBuilder
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ int getPublicKeysCount(); /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -136,15 +101,11 @@ public interface UserOwnedDrydockNoteOrBuilder
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List + java.util.List getPublicKeysOrBuilderList(); /** - * - * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -157,16 +118,12 @@ public interface UserOwnedDrydockNoteOrBuilder
    * valid attestations exist.
    * 
* - * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( int index); /** - * - * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -179,15 +136,11 @@ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPubli
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The delegationServiceAccountEmail. */ java.lang.String getDelegationServiceAccountEmail(); /** - * - * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -200,10 +153,9 @@ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPubli
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for delegationServiceAccountEmail. */ - com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getDelegationServiceAccountEmailBytes(); } diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto similarity index 86% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto index 97286fdef784..87bb5dba4c98 100644 --- a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto +++ b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto @@ -42,6 +42,23 @@ message ContinuousValidationEvent { // Container image with auditing details. message ImageDetails { + // The container type. + enum ContainerType { + // The container type should always be specified. This is an error. + CONTAINER_TYPE_UNSPECIFIED = 0; + + // A regular deployment. + CONTAINER = 1; + + // Init container defined as specified at + // https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ + INIT_CONTAINER = 2; + + // Ephemeral container defined as specified at + // https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/ + EPHEMERAL_CONTAINER = 3; + } + // Result of the audit. enum AuditResult { // Unspecified result. This is an error. @@ -109,6 +126,12 @@ message ContinuousValidationEvent { // The name of the image. string image = 1; + // The name of the container. + string container_name = 5; + + // The container type that this image belongs to. + ContainerType container_type = 6; + // The result of the audit for this image. AuditResult result = 2; diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto similarity index 100% rename from java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto rename to owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java diff --git a/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java b/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java rename to owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java From 2538a57ec283a5656e303fca0af360895b7bbef1 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Nov 2023 21:08:20 +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 --- java-binary-authorization/README.md | 4 +- ...inauthzManagementServiceV1Beta1Client.java | 0 ...authzManagementServiceV1Beta1Settings.java | 1 - .../v1beta1/SystemPolicyV1Beta1Client.java | 0 .../v1beta1/SystemPolicyV1Beta1Settings.java | 1 - .../v1beta1/gapic_metadata.json | 0 .../v1beta1/package-info.java | 0 .../BinauthzManagementServiceV1Beta1Stub.java | 0 ...zManagementServiceV1Beta1StubSettings.java | 0 ...nagementServiceV1Beta1CallableFactory.java | 0 ...cBinauthzManagementServiceV1Beta1Stub.java | 1 - ...rpcSystemPolicyV1Beta1CallableFactory.java | 0 .../stub/GrpcSystemPolicyV1Beta1Stub.java | 1 - ...nagementServiceV1Beta1CallableFactory.java | 0 ...nBinauthzManagementServiceV1Beta1Stub.java | 0 ...sonSystemPolicyV1Beta1CallableFactory.java | 0 .../stub/HttpJsonSystemPolicyV1Beta1Stub.java | 0 .../v1beta1/stub/SystemPolicyV1Beta1Stub.java | 0 .../stub/SystemPolicyV1Beta1StubSettings.java | 0 .../v1/BinauthzManagementServiceV1Client.java | 0 .../BinauthzManagementServiceV1Settings.java | 1 - .../v1/SystemPolicyV1Client.java | 0 .../v1/SystemPolicyV1Settings.java | 1 - .../v1/ValidationHelperV1Client.java | 0 .../v1/ValidationHelperV1Settings.java | 1 - .../v1/gapic_metadata.json | 0 .../binaryauthorization/v1/package-info.java | 0 .../stub/BinauthzManagementServiceV1Stub.java | 0 ...nauthzManagementServiceV1StubSettings.java | 0 ...thzManagementServiceV1CallableFactory.java | 0 .../GrpcBinauthzManagementServiceV1Stub.java | 1 - .../GrpcSystemPolicyV1CallableFactory.java | 0 .../v1/stub/GrpcSystemPolicyV1Stub.java | 1 - ...GrpcValidationHelperV1CallableFactory.java | 0 .../v1/stub/GrpcValidationHelperV1Stub.java | 1 - ...thzManagementServiceV1CallableFactory.java | 0 ...tpJsonBinauthzManagementServiceV1Stub.java | 0 ...HttpJsonSystemPolicyV1CallableFactory.java | 0 .../v1/stub/HttpJsonSystemPolicyV1Stub.java | 0 ...JsonValidationHelperV1CallableFactory.java | 0 .../stub/HttpJsonValidationHelperV1Stub.java | 0 .../v1/stub/SystemPolicyV1Stub.java | 0 .../v1/stub/SystemPolicyV1StubSettings.java | 0 .../v1/stub/ValidationHelperV1Stub.java | 0 .../stub/ValidationHelperV1StubSettings.java | 0 .../reflect-config.json | 0 .../reflect-config.json | 0 ...ementServiceV1Beta1ClientHttpJsonTest.java | 0 ...thzManagementServiceV1Beta1ClientTest.java | 0 .../MockBinauthzManagementServiceV1Beta1.java | 0 ...kBinauthzManagementServiceV1Beta1Impl.java | 0 .../v1beta1/MockSystemPolicyV1Beta1.java | 0 .../v1beta1/MockSystemPolicyV1Beta1Impl.java | 0 ...SystemPolicyV1Beta1ClientHttpJsonTest.java | 0 .../SystemPolicyV1Beta1ClientTest.java | 0 ...ManagementServiceV1ClientHttpJsonTest.java | 0 ...BinauthzManagementServiceV1ClientTest.java | 0 .../v1/MockBinauthzManagementServiceV1.java | 0 .../MockBinauthzManagementServiceV1Impl.java | 0 .../v1/MockSystemPolicyV1.java | 0 .../v1/MockSystemPolicyV1Impl.java | 0 .../v1/MockValidationHelperV1.java | 0 .../v1/MockValidationHelperV1Impl.java | 0 .../v1/SystemPolicyV1ClientHttpJsonTest.java | 0 .../v1/SystemPolicyV1ClientTest.java | 0 .../ValidationHelperV1ClientHttpJsonTest.java | 0 .../v1/ValidationHelperV1ClientTest.java | 0 .../v1/BinauthzManagementServiceV1Grpc.java | 1264 +++ .../v1/SystemPolicyV1Grpc.java | 392 + .../v1/ValidationHelperV1Grpc.java | 426 + .../BinauthzManagementServiceV1Beta1Grpc.java | 867 +- .../v1beta1/SystemPolicyV1Beta1Grpc.java | 217 +- .../binaryauthorization/v1/AttestorName.java | 0 .../binaryauthorization/v1/PolicyName.java | 0 .../binaryauthorization/v1/ProjectName.java | 0 .../binaryauthorization/v1/Resources.java | 8283 +++++++++++------ .../cloud/binaryauthorization/v1/Service.java | 6865 +++++++++----- .../binaryauthorization/v1/resources.proto | 0 .../binaryauthorization/v1/service.proto | 0 .../v1beta1/AdmissionRule.java | 756 +- .../v1beta1/AdmissionRuleOrBuilder.java | 76 +- .../v1beta1/AdmissionWhitelistPattern.java | 360 +- .../AdmissionWhitelistPatternOrBuilder.java | 27 +- .../binaryauthorization/v1beta1/Attestor.java | 745 +- .../v1beta1/AttestorName.java | 0 .../v1beta1/AttestorOrBuilder.java | 76 +- .../v1beta1/AttestorPublicKey.java | 664 +- .../v1beta1/AttestorPublicKeyOrBuilder.java | 56 +- .../BinaryAuthorizationResourcesProto.java | 311 + .../BinaryAuthorizationServiceProto.java | 265 + .../v1beta1/ContinuousValidationEvent.java | 6045 ++++++++---- .../ContinuousValidationEventOrBuilder.java | 116 + .../ContinuousValidationLoggingProto.java | 206 + .../v1beta1/CreateAttestorRequest.java | 600 +- .../CreateAttestorRequestOrBuilder.java | 64 +- .../v1beta1/DeleteAttestorRequest.java | 385 +- .../DeleteAttestorRequestOrBuilder.java | 56 + .../v1beta1/GetAttestorRequest.java | 373 +- .../v1beta1/GetAttestorRequestOrBuilder.java | 56 + .../v1beta1/GetPolicyRequest.java | 360 +- .../v1beta1/GetPolicyRequestOrBuilder.java | 56 + .../v1beta1/GetSystemPolicyRequest.java | 385 +- .../GetSystemPolicyRequestOrBuilder.java | 56 + .../v1beta1/ListAttestorsRequest.java | 484 +- .../ListAttestorsRequestOrBuilder.java | 47 +- .../v1beta1/ListAttestorsResponse.java | 509 +- .../ListAttestorsResponseOrBuilder.java | 45 +- .../v1beta1/PkixPublicKey.java | 586 +- .../v1beta1/PkixPublicKeyOrBuilder.java | 44 +- .../binaryauthorization/v1beta1/Policy.java | 2436 +++-- .../v1beta1/PolicyName.java | 0 .../v1beta1/PolicyOrBuilder.java | 342 +- .../v1beta1/ProjectName.java | 0 .../v1beta1/UpdateAttestorRequest.java | 431 +- .../UpdateAttestorRequestOrBuilder.java | 38 +- .../v1beta1/UpdatePolicyRequest.java | 419 +- .../v1beta1/UpdatePolicyRequestOrBuilder.java | 38 +- .../v1beta1/UserOwnedDrydockNote.java | 740 +- .../UserOwnedDrydockNoteOrBuilder.java | 76 +- .../continuous_validation_logging.proto | 0 .../v1beta1/resources.proto | 0 .../binaryauthorization/v1beta1/service.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createattestor/AsyncCreateAttestor.java | 0 .../createattestor/SyncCreateAttestor.java | 0 ...eateAttestorProjectnameStringAttestor.java | 0 ...yncCreateAttestorStringStringAttestor.java | 0 .../deleteattestor/AsyncDeleteAttestor.java | 0 .../deleteattestor/SyncDeleteAttestor.java | 0 .../SyncDeleteAttestorAttestorname.java | 0 .../SyncDeleteAttestorString.java | 0 .../getattestor/AsyncGetAttestor.java | 0 .../getattestor/SyncGetAttestor.java | 0 .../SyncGetAttestorAttestorname.java | 0 .../getattestor/SyncGetAttestorString.java | 0 .../getpolicy/AsyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicyPolicyname.java | 0 .../getpolicy/SyncGetPolicyString.java | 0 .../listattestors/AsyncListAttestors.java | 0 .../AsyncListAttestorsPaged.java | 0 .../listattestors/SyncListAttestors.java | 0 .../SyncListAttestorsProjectname.java | 0 .../SyncListAttestorsString.java | 0 .../updateattestor/AsyncUpdateAttestor.java | 0 .../updateattestor/SyncUpdateAttestor.java | 0 .../SyncUpdateAttestorAttestor.java | 0 .../updatepolicy/AsyncUpdatePolicy.java | 0 .../updatepolicy/SyncUpdatePolicy.java | 0 .../updatepolicy/SyncUpdatePolicyPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../getsystempolicy/AsyncGetSystemPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncGetSystemPolicyPolicyname.java | 0 .../SyncGetSystemPolicyString.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createattestor/AsyncCreateAttestor.java | 0 .../createattestor/SyncCreateAttestor.java | 0 ...torProjectnameStringResourcesattestor.java | 0 ...AttestorStringStringResourcesattestor.java | 0 .../deleteattestor/AsyncDeleteAttestor.java | 0 .../deleteattestor/SyncDeleteAttestor.java | 0 .../SyncDeleteAttestorAttestorname.java | 0 .../SyncDeleteAttestorString.java | 0 .../getattestor/AsyncGetAttestor.java | 0 .../getattestor/SyncGetAttestor.java | 0 .../SyncGetAttestorAttestorname.java | 0 .../getattestor/SyncGetAttestorString.java | 0 .../getpolicy/AsyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicyPolicyname.java | 0 .../getpolicy/SyncGetPolicyString.java | 0 .../listattestors/AsyncListAttestors.java | 0 .../AsyncListAttestorsPaged.java | 0 .../listattestors/SyncListAttestors.java | 0 .../SyncListAttestorsProjectname.java | 0 .../SyncListAttestorsString.java | 0 .../updateattestor/AsyncUpdateAttestor.java | 0 .../updateattestor/SyncUpdateAttestor.java | 0 .../SyncUpdateAttestorResourcesattestor.java | 0 .../updatepolicy/AsyncUpdatePolicy.java | 0 .../updatepolicy/SyncUpdatePolicy.java | 0 .../SyncUpdatePolicyResourcespolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getpolicy/SyncGetPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncValidateAttestationOccurrence.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../getsystempolicy/AsyncGetSystemPolicy.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncGetSystemPolicyPolicyname.java | 0 .../SyncGetSystemPolicyString.java | 0 .../getsystempolicy/SyncGetSystemPolicy.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncValidateAttestationOccurrence.java | 0 .../SyncValidateAttestationOccurrence.java | 0 .../SyncValidateAttestationOccurrence.java | 0 .../v1/BinauthzManagementServiceV1Grpc.java | 927 -- .../v1/SystemPolicyV1Grpc.java | 323 - .../v1/ValidationHelperV1Grpc.java | 327 - .../BinaryAuthorizationResourcesProto.java | 269 - .../BinaryAuthorizationServiceProto.java | 241 - .../ContinuousValidationEventOrBuilder.java | 65 - .../ContinuousValidationLoggingProto.java | 169 - .../DeleteAttestorRequestOrBuilder.java | 31 - .../v1beta1/GetAttestorRequestOrBuilder.java | 31 - .../v1beta1/GetPolicyRequestOrBuilder.java | 31 - .../GetSystemPolicyRequestOrBuilder.java | 31 - 222 files changed, 24951 insertions(+), 14151 deletions(-) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java (99%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java (99%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java (99%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java (99%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java (99%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java (99%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java (99%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java (99%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java (99%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java (99%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java (100%) create mode 100644 java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java create mode 100644 java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java create mode 100644 java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java (51%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java (55%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java (60%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java (59%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java (68%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java (69%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java (66%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java (67%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java (65%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java (66%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java (74%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java (85%) create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java (59%) create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java (64%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java (61%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java (60%) create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java (61%) create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java (62%) create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java (59%) create mode 100644 java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java (66%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java (71%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java (74%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java (69%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java (60%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java (57%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java (57%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java (62%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java (59%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java (63%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java (59%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java (70%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java (75%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1beta1 => java-binary-authorization}/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java (100%) rename {owl-bot-staging/java-binary-authorization/v1 => java-binary-authorization}/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java (100%) delete mode 100644 owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java diff --git a/java-binary-authorization/README.md b/java-binary-authorization/README.md index 9b333b6c7eba..9c3a26081df0 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.23.0 + 26.27.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.23.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.29.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Client.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java index 9eb5e8b09886..14371b49b3f4 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Settings.java @@ -28,7 +28,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.binaryauthorization.v1beta1.stub.BinauthzManagementServiceV1Beta1StubSettings; diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Client.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java index 2ee72db79b63..8c26c11cb36a 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Settings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.binaryauthorization.v1beta1.stub.SystemPolicyV1Beta1StubSettings; diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/package-info.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/BinauthzManagementServiceV1Beta1StubSettings.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java index d3bb82355e52..ac5a50814135 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcBinauthzManagementServiceV1Beta1Stub.java @@ -41,7 +41,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java index c7d0e94af329..30c4729a34e9 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/GrpcSystemPolicyV1Beta1Stub.java @@ -30,7 +30,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonBinauthzManagementServiceV1Beta1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/HttpJsonSystemPolicyV1Beta1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/SystemPolicyV1Beta1StubSettings.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Client.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java index fc4dbf962622..8d9cbad17098 100644 --- a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Settings.java @@ -28,7 +28,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.protobuf.Empty; diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Client.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java index edd511ac6377..47b9d1b40c3c 100644 --- a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Settings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protos.google.cloud.binaryauthorization.v1.stub.SystemPolicyV1StubSettings; diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Client.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java index c458761e6012..9b971f9fb691 100644 --- a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Settings.java @@ -25,7 +25,6 @@ import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.protos.google.cloud.binaryauthorization.v1.stub.ValidationHelperV1StubSettings; diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/package-info.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/BinauthzManagementServiceV1StubSettings.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java index 45210a20ae6f..d5fe48dbf1ca 100644 --- a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcBinauthzManagementServiceV1Stub.java @@ -32,7 +32,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java index 78a570f8019d..263795199588 100644 --- a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcSystemPolicyV1Stub.java @@ -29,7 +29,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java similarity index 99% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java index ea7df57ebd83..51d49cca5a61 100644 --- a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/GrpcValidationHelperV1Stub.java @@ -28,7 +28,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonBinauthzManagementServiceV1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonSystemPolicyV1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1CallableFactory.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/HttpJsonValidationHelperV1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/SystemPolicyV1StubSettings.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1Stub.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java rename to java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/ValidationHelperV1StubSettings.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json b/java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json rename to java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.cloud.binaryauthorization.v1beta1/reflect-config.json diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json b/java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json rename to java-binary-authorization/google-cloud-binary-authorization/src/main/resources/META-INF/native-image/com.google.protos.google.cloud.binaryauthorization.v1/reflect-config.json diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientHttpJsonTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1ClientTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockBinauthzManagementServiceV1Beta1Impl.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/MockSystemPolicyV1Beta1Impl.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientHttpJsonTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1ClientTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientHttpJsonTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1ClientTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockBinauthzManagementServiceV1Impl.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockSystemPolicyV1Impl.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/MockValidationHelperV1Impl.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientHttpJsonTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1ClientTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientHttpJsonTest.java diff --git a/owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java b/java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java rename to java-binary-authorization/google-cloud-binary-authorization/src/test/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1ClientTest.java diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java new file mode 100644 index 000000000000..44005f16d871 --- /dev/null +++ b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java @@ -0,0 +1,1264 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.protos.google.cloud.binaryauthorization.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Google Cloud Management Service for Binary Authorization admission policies
+ * and attestation authorities.
+ * This API implements a REST model with the following objects:
+ * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+ * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/binaryauthorization/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BinauthzManagementServiceV1Grpc { + + private BinauthzManagementServiceV1Grpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getGetPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPolicy", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getGetPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getGetPolicyMethod; + if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { + BinauthzManagementServiceV1Grpc.getGetPolicyMethod = + getGetPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance())) + .setSchemaDescriptor( + new BinauthzManagementServiceV1MethodDescriptorSupplier("GetPolicy")) + .build(); + } + } + } + return getGetPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getUpdatePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getUpdatePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getUpdatePolicyMethod; + if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) + == null) { + BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod = + getUpdatePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdatePolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance())) + .setSchemaDescriptor( + new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdatePolicy")) + .build(); + } + } + } + return getUpdatePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getCreateAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAttestor", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getCreateAttestorMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getCreateAttestorMethod; + if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) + == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) + == null) { + BinauthzManagementServiceV1Grpc.getCreateAttestorMethod = + getCreateAttestorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .Attestor.getDefaultInstance())) + .setSchemaDescriptor( + new BinauthzManagementServiceV1MethodDescriptorSupplier("CreateAttestor")) + .build(); + } + } + } + return getCreateAttestorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getGetAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAttestor", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getGetAttestorMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getGetAttestorMethod; + if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { + BinauthzManagementServiceV1Grpc.getGetAttestorMethod = + getGetAttestorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetAttestorRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .Attestor.getDefaultInstance())) + .setSchemaDescriptor( + new BinauthzManagementServiceV1MethodDescriptorSupplier("GetAttestor")) + .build(); + } + } + } + return getGetAttestorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getUpdateAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAttestor", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getUpdateAttestorMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getUpdateAttestorMethod; + if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) + == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) + == null) { + BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod = + getUpdateAttestorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .Attestor.getDefaultInstance())) + .setSchemaDescriptor( + new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdateAttestor")) + .build(); + } + } + } + return getUpdateAttestorMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> + getListAttestorsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAttestors", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, + responseType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> + getListAttestorsMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> + getListAttestorsMethod; + if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) + == null) { + BinauthzManagementServiceV1Grpc.getListAttestorsMethod = + getListAttestorsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new BinauthzManagementServiceV1MethodDescriptorSupplier("ListAttestors")) + .build(); + } + } + } + return getListAttestorsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, + com.google.protobuf.Empty> + getDeleteAttestorMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAttestor", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, + com.google.protobuf.Empty> + getDeleteAttestorMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, + com.google.protobuf.Empty> + getDeleteAttestorMethod; + if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) + == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) + == null) { + BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod = + getDeleteAttestorMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new BinauthzManagementServiceV1MethodDescriptorSupplier("DeleteAttestor")) + .build(); + } + } + } + return getDeleteAttestorMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static BinauthzManagementServiceV1Stub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BinauthzManagementServiceV1Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1Stub(channel, callOptions); + } + }; + return BinauthzManagementServiceV1Stub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BinauthzManagementServiceV1BlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BinauthzManagementServiceV1BlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); + } + }; + return BinauthzManagementServiceV1BlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static BinauthzManagementServiceV1FutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BinauthzManagementServiceV1FutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1FutureStub(channel, callOptions); + } + }; + return BinauthzManagementServiceV1FutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + default void getPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + default void updatePolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + default void createAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAttestorMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + default void getAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAttestorMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + default void updateAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAttestorMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + default void listAttestors( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAttestorsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + default void deleteAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAttestorMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BinauthzManagementServiceV1. + * + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public abstract static class BinauthzManagementServiceV1ImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return BinauthzManagementServiceV1Grpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BinauthzManagementServiceV1. + * + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public static final class BinauthzManagementServiceV1Stub + extends io.grpc.stub.AbstractAsyncStub { + private BinauthzManagementServiceV1Stub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BinauthzManagementServiceV1Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1Stub(channel, callOptions); + } + + /** + * + * + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + public void getPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + public void updatePolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + public void createAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public void getAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAttestorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public void updateAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + public void listAttestors( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAttestorsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public void deleteAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BinauthzManagementServiceV1. + * + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public static final class BinauthzManagementServiceV1BlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BinauthzManagementServiceV1BlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BinauthzManagementServiceV1BlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy updatePolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor createAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAttestorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAttestorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor updateAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAttestorMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + listAttestors( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAttestorsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.protobuf.Empty deleteAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAttestorMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * BinauthzManagementServiceV1. + * + *
+   * Google Cloud Management Service for Binary Authorization admission policies
+   * and attestation authorities.
+   * This API implements a REST model with the following objects:
+   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
+   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
+   * 
+ */ + public static final class BinauthzManagementServiceV1FutureStub + extends io.grpc.stub.AbstractFutureStub { + private BinauthzManagementServiceV1FutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BinauthzManagementServiceV1FutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BinauthzManagementServiceV1FutureStub(channel, callOptions); + } + + /** + * + * + *
+     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
+     * a container image, before the project is allowed to deploy that
+     * image. There is at most one policy per project. All image admission
+     * requests are permitted if a project has no policy.
+     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
+     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
+     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
+     * conditions with concurrent policy enforcement (or management!)
+     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
+     * if the request is malformed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + updatePolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
+     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + createAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + updateAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
+     * Returns INVALID_ARGUMENT if the project does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse> + listAttestors( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
+     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_POLICY = 0; + private static final int METHODID_UPDATE_POLICY = 1; + private static final int METHODID_CREATE_ATTESTOR = 2; + private static final int METHODID_GET_ATTESTOR = 3; + private static final int METHODID_UPDATE_ATTESTOR = 4; + private static final int METHODID_LIST_ATTESTORS = 5; + private static final int METHODID_DELETE_ATTESTOR = 6; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_POLICY: + serviceImpl.getPolicy( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>) + responseObserver); + break; + case METHODID_UPDATE_POLICY: + serviceImpl.updatePolicy( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>) + responseObserver); + break; + case METHODID_CREATE_ATTESTOR: + serviceImpl.createAttestor( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>) + responseObserver); + break; + case METHODID_GET_ATTESTOR: + serviceImpl.getAttestor( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>) + responseObserver); + break; + case METHODID_UPDATE_ATTESTOR: + serviceImpl.updateAttestor( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>) + responseObserver); + break; + case METHODID_LIST_ATTESTORS: + serviceImpl.listAttestors( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse>) + responseObserver); + break; + case METHODID_DELETE_ATTESTOR: + serviceImpl.deleteAttestor( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( + service, METHODID_GET_POLICY))) + .addMethod( + getUpdatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdatePolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( + service, METHODID_UPDATE_POLICY))) + .addMethod( + getCreateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( + service, METHODID_CREATE_ATTESTOR))) + .addMethod( + getGetAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( + service, METHODID_GET_ATTESTOR))) + .addMethod( + getUpdateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( + service, METHODID_UPDATE_ATTESTOR))) + .addMethod( + getListAttestorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse>(service, METHODID_LIST_ATTESTORS))) + .addMethod( + getDeleteAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_ATTESTOR))) + .build(); + } + + private abstract static class BinauthzManagementServiceV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BinauthzManagementServiceV1BaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BinauthzManagementServiceV1"); + } + } + + private static final class BinauthzManagementServiceV1FileDescriptorSupplier + extends BinauthzManagementServiceV1BaseDescriptorSupplier { + BinauthzManagementServiceV1FileDescriptorSupplier() {} + } + + private static final class BinauthzManagementServiceV1MethodDescriptorSupplier + extends BinauthzManagementServiceV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BinauthzManagementServiceV1MethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BinauthzManagementServiceV1Grpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BinauthzManagementServiceV1FileDescriptorSupplier()) + .addMethod(getGetPolicyMethod()) + .addMethod(getUpdatePolicyMethod()) + .addMethod(getCreateAttestorMethod()) + .addMethod(getGetAttestorMethod()) + .addMethod(getUpdateAttestorMethod()) + .addMethod(getListAttestorsMethod()) + .addMethod(getDeleteAttestorMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java new file mode 100644 index 000000000000..3af404eb0b3e --- /dev/null +++ b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java @@ -0,0 +1,392 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.protos.google.cloud.binaryauthorization.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * API for working with the system policy.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/binaryauthorization/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class SystemPolicyV1Grpc { + + private SystemPolicyV1Grpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.binaryauthorization.v1.SystemPolicyV1"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getGetSystemPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSystemPolicy", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + .class, + responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getGetSystemPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getGetSystemPolicyMethod; + if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { + synchronized (SystemPolicyV1Grpc.class) { + if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { + SystemPolicyV1Grpc.getGetSystemPolicyMethod = + getGetSystemPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance())) + .setSchemaDescriptor( + new SystemPolicyV1MethodDescriptorSupplier("GetSystemPolicy")) + .build(); + } + } + } + return getGetSystemPolicyMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static SystemPolicyV1Stub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Stub(channel, callOptions); + } + }; + return SystemPolicyV1Stub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static SystemPolicyV1BlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1BlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1BlockingStub(channel, callOptions); + } + }; + return SystemPolicyV1BlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static SystemPolicyV1FutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1FutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1FutureStub(channel, callOptions); + } + }; + return SystemPolicyV1FutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * API for working with the system policy.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + default void getSystemPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSystemPolicyMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service SystemPolicyV1. + * + *
+   * API for working with the system policy.
+   * 
+ */ + public abstract static class SystemPolicyV1ImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return SystemPolicyV1Grpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1. + * + *
+   * API for working with the system policy.
+   * 
+ */ + public static final class SystemPolicyV1Stub + extends io.grpc.stub.AbstractAsyncStub { + private SystemPolicyV1Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SystemPolicyV1Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Stub(channel, callOptions); + } + + /** + * + * + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + public void getSystemPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1. + * + *
+   * API for working with the system policy.
+   * 
+ */ + public static final class SystemPolicyV1BlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private SystemPolicyV1BlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SystemPolicyV1BlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1BlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getSystemPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSystemPolicyMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1. + * + *
+   * API for working with the system policy.
+   * 
+ */ + public static final class SystemPolicyV1FutureStub + extends io.grpc.stub.AbstractFutureStub { + private SystemPolicyV1FutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected SystemPolicyV1FutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1FutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Gets the current system policy in the specified location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy> + getSystemPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_SYSTEM_POLICY = 0; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_SYSTEM_POLICY: + serviceImpl.getSystemPolicy( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetSystemPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( + service, METHODID_GET_SYSTEM_POLICY))) + .build(); + } + + private abstract static class SystemPolicyV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + SystemPolicyV1BaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("SystemPolicyV1"); + } + } + + private static final class SystemPolicyV1FileDescriptorSupplier + extends SystemPolicyV1BaseDescriptorSupplier { + SystemPolicyV1FileDescriptorSupplier() {} + } + + private static final class SystemPolicyV1MethodDescriptorSupplier + extends SystemPolicyV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + SystemPolicyV1MethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (SystemPolicyV1Grpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new SystemPolicyV1FileDescriptorSupplier()) + .addMethod(getGetSystemPolicyMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java new file mode 100644 index 000000000000..e44c38f05722 --- /dev/null +++ b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java @@ -0,0 +1,426 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.protos.google.cloud.binaryauthorization.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * BinAuthz Attestor verification
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/binaryauthorization/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ValidationHelperV1Grpc { + + private ValidationHelperV1Grpc() {} + + public static final java.lang.String SERVICE_NAME = + "google.cloud.binaryauthorization.v1.ValidationHelperV1"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse> + getValidateAttestationOccurrenceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ValidateAttestationOccurrence", + requestType = + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest.class, + responseType = + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse> + getValidateAttestationOccurrenceMethod() { + io.grpc.MethodDescriptor< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse> + getValidateAttestationOccurrenceMethod; + if ((getValidateAttestationOccurrenceMethod = + ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) + == null) { + synchronized (ValidationHelperV1Grpc.class) { + if ((getValidateAttestationOccurrenceMethod = + ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) + == null) { + ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod = + getValidateAttestationOccurrenceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ValidateAttestationOccurrence")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ValidationHelperV1MethodDescriptorSupplier( + "ValidateAttestationOccurrence")) + .build(); + } + } + } + return getValidateAttestationOccurrenceMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ValidationHelperV1Stub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ValidationHelperV1Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1Stub(channel, callOptions); + } + }; + return ValidationHelperV1Stub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ValidationHelperV1BlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ValidationHelperV1BlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1BlockingStub(channel, callOptions); + } + }; + return ValidationHelperV1BlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ValidationHelperV1FutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ValidationHelperV1FutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1FutureStub(channel, callOptions); + } + }; + return ValidationHelperV1FutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + default void validateAttestationOccurrence( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getValidateAttestationOccurrenceMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service ValidationHelperV1. + * + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public abstract static class ValidationHelperV1ImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return ValidationHelperV1Grpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service ValidationHelperV1. + * + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public static final class ValidationHelperV1Stub + extends io.grpc.stub.AbstractAsyncStub { + private ValidationHelperV1Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ValidationHelperV1Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1Stub(channel, callOptions); + } + + /** + * + * + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + public void validateAttestationOccurrence( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + request, + io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service ValidationHelperV1. + * + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public static final class ValidationHelperV1BlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ValidationHelperV1BlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ValidationHelperV1BlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1BlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + validateAttestationOccurrence( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getValidateAttestationOccurrenceMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service ValidationHelperV1. + * + *
+   * BinAuthz Attestor verification
+   * 
+ */ + public static final class ValidationHelperV1FutureStub + extends io.grpc.stub.AbstractFutureStub { + private ValidationHelperV1FutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ValidationHelperV1FutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ValidationHelperV1FutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns whether the given Attestation for the given image URI
+     * was signed by the given Attestor
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse> + validateAttestationOccurrence( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), + request); + } + } + + private static final int METHODID_VALIDATE_ATTESTATION_OCCURRENCE = 0; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_VALIDATE_ATTESTATION_OCCURRENCE: + serviceImpl.validateAttestationOccurrence( + (com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getValidateAttestationOccurrenceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest, + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse>( + service, METHODID_VALIDATE_ATTESTATION_OCCURRENCE))) + .build(); + } + + private abstract static class ValidationHelperV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ValidationHelperV1BaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ValidationHelperV1"); + } + } + + private static final class ValidationHelperV1FileDescriptorSupplier + extends ValidationHelperV1BaseDescriptorSupplier { + ValidationHelperV1FileDescriptorSupplier() {} + } + + private static final class ValidationHelperV1MethodDescriptorSupplier + extends ValidationHelperV1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + ValidationHelperV1MethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ValidationHelperV1Grpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ValidationHelperV1FileDescriptorSupplier()) + .addMethod(getValidateAttestationOccurrenceMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java similarity index 51% rename from owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java rename to java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java index 3f8fa0229ee6..210dbd6388a8 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java +++ b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinauthzManagementServiceV1Beta1Grpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.binaryauthorization.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * Google Cloud Management Service for Binary Authorization admission policies
  * and attestation authorities.
@@ -19,237 +36,367 @@ public final class BinauthzManagementServiceV1Beta1Grpc {
 
   private BinauthzManagementServiceV1Beta1Grpc() {}
 
-  public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1";
+  public static final java.lang.String SERVICE_NAME =
+      "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getGetPolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Policy>
+      getGetPolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetPolicy",
       requestType = com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetPolicyMethod() {
-    io.grpc.MethodDescriptor getGetPolicyMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Policy>
+      getGetPolicyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest,
+            com.google.cloud.binaryauthorization.v1beta1.Policy>
+        getGetPolicyMethod;
     if ((getGetPolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod) == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getGetPolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod) == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod = getGetPolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()))
-              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("GetPolicy"))
-              .build();
+        if ((getGetPolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod)
+            == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getGetPolicyMethod =
+              getGetPolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.Policy
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("GetPolicy"))
+                      .build();
         }
       }
     }
     return getGetPolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdatePolicyMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Policy>
+      getUpdatePolicyMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy",
       requestType = com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Policy.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdatePolicyMethod() {
-    io.grpc.MethodDescriptor getUpdatePolicyMethod;
-    if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Policy>
+      getUpdatePolicyMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest,
+            com.google.cloud.binaryauthorization.v1beta1.Policy>
+        getUpdatePolicyMethod;
+    if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod)
+        == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod) == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod = getUpdatePolicyMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()))
-              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("UpdatePolicy"))
-              .build();
+        if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod)
+            == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getUpdatePolicyMethod =
+              getUpdatePolicyMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.Policy
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
+                              "UpdatePolicy"))
+                      .build();
         }
       }
     }
     return getUpdatePolicyMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Attestor>
+      getCreateAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateAttestorMethod() {
-    io.grpc.MethodDescriptor getCreateAttestorMethod;
-    if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Attestor>
+      getCreateAttestorMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest,
+            com.google.cloud.binaryauthorization.v1beta1.Attestor>
+        getCreateAttestorMethod;
+    if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod)
+        == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod) == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod = getCreateAttestorMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()))
-              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("CreateAttestor"))
-              .build();
+        if ((getCreateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod)
+            == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getCreateAttestorMethod =
+              getCreateAttestorMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.Attestor
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
+                              "CreateAttestor"))
+                      .build();
         }
       }
     }
     return getCreateAttestorMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Attestor>
+      getGetAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetAttestorMethod() {
-    io.grpc.MethodDescriptor getGetAttestorMethod;
-    if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Attestor>
+      getGetAttestorMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest,
+            com.google.cloud.binaryauthorization.v1beta1.Attestor>
+        getGetAttestorMethod;
+    if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod)
+        == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod) == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod = getGetAttestorMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()))
-              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("GetAttestor"))
-              .build();
+        if ((getGetAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod)
+            == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getGetAttestorMethod =
+              getGetAttestorMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.Attestor
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
+                              "GetAttestor"))
+                      .build();
         }
       }
     }
     return getGetAttestorMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUpdateAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Attestor>
+      getUpdateAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UpdateAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUpdateAttestorMethod() {
-    io.grpc.MethodDescriptor getUpdateAttestorMethod;
-    if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest,
+          com.google.cloud.binaryauthorization.v1beta1.Attestor>
+      getUpdateAttestorMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest,
+            com.google.cloud.binaryauthorization.v1beta1.Attestor>
+        getUpdateAttestorMethod;
+    if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod)
+        == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod) == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod = getUpdateAttestorMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()))
-              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("UpdateAttestor"))
-              .build();
+        if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod)
+            == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getUpdateAttestorMethod =
+              getUpdateAttestorMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.Attestor
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
+                              "UpdateAttestor"))
+                      .build();
         }
       }
     }
     return getUpdateAttestorMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListAttestorsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest,
+          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>
+      getListAttestorsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListAttestors",
       requestType = com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class,
       responseType = com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListAttestorsMethod() {
-    io.grpc.MethodDescriptor getListAttestorsMethod;
-    if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest,
+          com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>
+      getListAttestorsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest,
+            com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>
+        getListAttestorsMethod;
+    if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod)
+        == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod) == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod = getListAttestorsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("ListAttestors"))
-              .build();
+        if ((getListAttestorsMethod = BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod)
+            == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getListAttestorsMethod =
+              getListAttestorsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
+                              "ListAttestors"))
+                      .build();
         }
       }
     }
     return getListAttestorsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteAttestorMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest,
+          com.google.protobuf.Empty>
+      getDeleteAttestorMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteAttestor",
       requestType = com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteAttestorMethod() {
-    io.grpc.MethodDescriptor getDeleteAttestorMethod;
-    if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod) == null) {
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest,
+          com.google.protobuf.Empty>
+      getDeleteAttestorMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest,
+            com.google.protobuf.Empty>
+        getDeleteAttestorMethod;
+    if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod)
+        == null) {
       synchronized (BinauthzManagementServiceV1Beta1Grpc.class) {
-        if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod) == null) {
-          BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod = getDeleteAttestorMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier("DeleteAttestor"))
-              .build();
+        if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod)
+            == null) {
+          BinauthzManagementServiceV1Beta1Grpc.getDeleteAttestorMethod =
+              getDeleteAttestorMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new BinauthzManagementServiceV1Beta1MethodDescriptorSupplier(
+                              "DeleteAttestor"))
+                      .build();
         }
       }
     }
     return getDeleteAttestorMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static BinauthzManagementServiceV1Beta1Stub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BinauthzManagementServiceV1Beta1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BinauthzManagementServiceV1Beta1Stub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BinauthzManagementServiceV1Beta1Stub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BinauthzManagementServiceV1Beta1Stub(channel, callOptions);
+          }
+        };
     return BinauthzManagementServiceV1Beta1Stub.newStub(factory, channel);
   }
 
@@ -259,31 +406,32 @@ public BinauthzManagementServiceV1Beta1Stub newStub(io.grpc.Channel channel, io.
   public static BinauthzManagementServiceV1Beta1BlockingStub newBlockingStub(
       io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BinauthzManagementServiceV1Beta1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BinauthzManagementServiceV1Beta1BlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BinauthzManagementServiceV1Beta1BlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BinauthzManagementServiceV1Beta1BlockingStub(channel, callOptions);
+          }
+        };
     return BinauthzManagementServiceV1Beta1BlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static BinauthzManagementServiceV1Beta1FutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static BinauthzManagementServiceV1Beta1FutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public BinauthzManagementServiceV1Beta1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new BinauthzManagementServiceV1Beta1FutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public BinauthzManagementServiceV1Beta1FutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new BinauthzManagementServiceV1Beta1FutureStub(channel, callOptions);
+          }
+        };
     return BinauthzManagementServiceV1Beta1FutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -295,6 +443,8 @@ public BinauthzManagementServiceV1Beta1FutureStub newStub(io.grpc.Channel channe
   public interface AsyncService {
 
     /**
+     *
+     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -304,12 +454,16 @@ public interface AsyncService {
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - default void getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void getPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); } /** + * + * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -318,12 +472,17 @@ default void getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyReq
      * if the request is malformed.
      * 
*/ - default void updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyMethod(), responseObserver); + default void updatePolicy( + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePolicyMethod(), responseObserver); } /** + * + * *
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -331,58 +490,82 @@ default void updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePol
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
      * 
*/ - default void createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAttestorMethod(), responseObserver); + default void createAttestor( + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAttestorMethod(), responseObserver); } /** + * + * *
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - default void getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttestorMethod(), responseObserver); + default void getAttestor( + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAttestorMethod(), responseObserver); } /** + * + * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - default void updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttestorMethod(), responseObserver); + default void updateAttestor( + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAttestorMethod(), responseObserver); } /** + * + * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - default void listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAttestorsMethod(), responseObserver); + default void listAttestors( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAttestorsMethod(), responseObserver); } /** + * + * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - default void deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, + default void deleteAttestor( + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAttestorMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAttestorMethod(), responseObserver); } } /** * Base class for the server implementation of the service BinauthzManagementServiceV1Beta1. + * *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -391,16 +574,19 @@ default void deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteA
    * * [Attestor][google.cloud.binaryauthorization.v1beta1.Attestor]
    * 
*/ - public static abstract class BinauthzManagementServiceV1Beta1ImplBase + public abstract static class BinauthzManagementServiceV1Beta1ImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return BinauthzManagementServiceV1Beta1Grpc.bindService(this); } } /** - * A stub to allow clients to do asynchronous rpc calls to service BinauthzManagementServiceV1Beta1. + * A stub to allow clients to do asynchronous rpc calls to service + * BinauthzManagementServiceV1Beta1. + * *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -423,6 +609,8 @@ protected BinauthzManagementServiceV1Beta1Stub build(
     }
 
     /**
+     *
+     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -432,13 +620,17 @@ protected BinauthzManagementServiceV1Beta1Stub build(
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - public void getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); } /** + * + * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -447,13 +639,19 @@ public void getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequ
      * if the request is malformed.
      * 
*/ - public void updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updatePolicy( + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -461,63 +659,93 @@ public void updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePoli
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
      * 
*/ - public void createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void createAttestor( + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public void getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getAttestor( + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetAttestorMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public void updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void updateAttestor( + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - public void listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listAttestors( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse> + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListAttestorsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public void deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, + public void deleteAttestor( + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), + request, + responseObserver); } } /** - * A stub to allow clients to do synchronous rpc calls to service BinauthzManagementServiceV1Beta1. + * A stub to allow clients to do synchronous rpc calls to service + * BinauthzManagementServiceV1Beta1. + * *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -540,6 +768,8 @@ protected BinauthzManagementServiceV1Beta1BlockingStub build(
     }
 
     /**
+     *
+     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -549,12 +779,15 @@ protected BinauthzManagementServiceV1Beta1BlockingStub build(
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetPolicyMethod(), getCallOptions(), request); } /** + * + * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -563,12 +796,15 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy(com.google.
      * if the request is malformed.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Policy updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Policy updatePolicy( + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); } /** + * + * *
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -576,58 +812,73 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy updatePolicy(com.goog
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Attestor createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Attestor createAttestor( + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateAttestorMethod(), getCallOptions(), request); } /** + * + * *
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor( + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAttestorMethod(), getCallOptions(), request); } /** + * + * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Attestor updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Attestor updateAttestor( + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAttestorMethod(), getCallOptions(), request); } /** + * + * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse listAttestors( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAttestorsMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.protobuf.Empty deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { + public com.google.protobuf.Empty deleteAttestor( + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteAttestorMethod(), getCallOptions(), request); } } /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service BinauthzManagementServiceV1Beta1. + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * BinauthzManagementServiceV1Beta1. + * *
    * Google Cloud Management Service for Binary Authorization admission policies
    * and attestation authorities.
@@ -650,6 +901,8 @@ protected BinauthzManagementServiceV1Beta1FutureStub build(
     }
 
     /**
+     *
+     *
      * 
      * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to
      * a container image, before the project is allowed to deploy that
@@ -659,13 +912,16 @@ protected BinauthzManagementServiceV1Beta1FutureStub build(
      * [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.binaryauthorization.v1beta1.Policy> + getPolicy(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); } /** + * + * *
      * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the
      * new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race
@@ -674,13 +930,16 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture updatePolicy(
-        com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.binaryauthorization.v1beta1.Policy>
+        updatePolicy(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist,
@@ -688,56 +947,68 @@ public com.google.common.util.concurrent.ListenableFuture
      */
-    public com.google.common.util.concurrent.ListenableFuture createAttestor(
-        com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) {
+    public com.google.common.util.concurrent.ListenableFuture<
+            com.google.cloud.binaryauthorization.v1beta1.Attestor>
+        createAttestor(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest request) {
       return io.grpc.stub.ClientCalls.futureUnaryCall(
           getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request);
     }
 
     /**
+     *
+     *
      * 
      * Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getAttestor( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.binaryauthorization.v1beta1.Attestor> + getAttestor(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request); } /** + * + * *
      * Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture updateAttestor( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.binaryauthorization.v1beta1.Attestor> + updateAttestor(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request); } /** + * + * *
      * Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * Returns INVALID_ARGUMENT if the project does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listAttestors( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse> + listAttestors(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the
      * [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteAttestor( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteAttestor(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request); } @@ -751,11 +1022,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -769,31 +1040,45 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET_POLICY: - serviceImpl.getPolicy((com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getPolicy( + (com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_UPDATE_POLICY: - serviceImpl.updatePolicy((com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.updatePolicy( + (com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_CREATE_ATTESTOR: - serviceImpl.createAttestor((com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.createAttestor( + (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_ATTESTOR: - serviceImpl.getAttestor((com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getAttestor( + (com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_UPDATE_ATTESTOR: - serviceImpl.updateAttestor((com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.updateAttestor( + (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_LIST_ATTESTORS: - serviceImpl.listAttestors((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listAttestors( + (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>) + responseObserver); break; case METHODID_DELETE_ATTESTOR: - serviceImpl.deleteAttestor((com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) request, + serviceImpl.deleteAttestor( + (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: @@ -815,64 +1100,65 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy>( - service, METHODID_GET_POLICY))) + getGetPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy>( + service, METHODID_GET_POLICY))) .addMethod( - getUpdatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy>( - service, METHODID_UPDATE_POLICY))) + getUpdatePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy>( + service, METHODID_UPDATE_POLICY))) .addMethod( - getCreateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest, - com.google.cloud.binaryauthorization.v1beta1.Attestor>( - service, METHODID_CREATE_ATTESTOR))) + getCreateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest, + com.google.cloud.binaryauthorization.v1beta1.Attestor>( + service, METHODID_CREATE_ATTESTOR))) .addMethod( - getGetAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest, - com.google.cloud.binaryauthorization.v1beta1.Attestor>( - service, METHODID_GET_ATTESTOR))) + getGetAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest, + com.google.cloud.binaryauthorization.v1beta1.Attestor>( + service, METHODID_GET_ATTESTOR))) .addMethod( - getUpdateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest, - com.google.cloud.binaryauthorization.v1beta1.Attestor>( - service, METHODID_UPDATE_ATTESTOR))) + getUpdateAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest, + com.google.cloud.binaryauthorization.v1beta1.Attestor>( + service, METHODID_UPDATE_ATTESTOR))) .addMethod( - getListAttestorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest, - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>( - service, METHODID_LIST_ATTESTORS))) + getListAttestorsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest, + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse>( + service, METHODID_LIST_ATTESTORS))) .addMethod( - getDeleteAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ATTESTOR))) + getDeleteAttestorMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_ATTESTOR))) .build(); } - private static abstract class BinauthzManagementServiceV1Beta1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class BinauthzManagementServiceV1Beta1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { BinauthzManagementServiceV1Beta1BaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.getDescriptor(); + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .getDescriptor(); } @java.lang.Override @@ -909,16 +1195,19 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (BinauthzManagementServiceV1Beta1Grpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BinauthzManagementServiceV1Beta1FileDescriptorSupplier()) - .addMethod(getGetPolicyMethod()) - .addMethod(getUpdatePolicyMethod()) - .addMethod(getCreateAttestorMethod()) - .addMethod(getGetAttestorMethod()) - .addMethod(getUpdateAttestorMethod()) - .addMethod(getListAttestorsMethod()) - .addMethod(getDeleteAttestorMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor( + new BinauthzManagementServiceV1Beta1FileDescriptorSupplier()) + .addMethod(getGetPolicyMethod()) + .addMethod(getUpdatePolicyMethod()) + .addMethod(getCreateAttestorMethod()) + .addMethod(getGetAttestorMethod()) + .addMethod(getUpdateAttestorMethod()) + .addMethod(getListAttestorsMethod()) + .addMethod(getDeleteAttestorMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java similarity index 55% rename from owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java rename to java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java index 88138909c54d..ea6149aa8930 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java +++ b/java-binary-authorization/grpc-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/SystemPolicyV1Beta1Grpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.binaryauthorization.v1beta1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
  * API for working with the system policy.
  * 
@@ -15,85 +32,101 @@ public final class SystemPolicyV1Beta1Grpc { private SystemPolicyV1Beta1Grpc() {} - public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1"; + public static final java.lang.String SERVICE_NAME = + "google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetSystemPolicyMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy> + getGetSystemPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetSystemPolicy", requestType = com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, responseType = com.google.cloud.binaryauthorization.v1beta1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetSystemPolicyMethod() { - io.grpc.MethodDescriptor getGetSystemPolicyMethod; + public static io.grpc.MethodDescriptor< + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy> + getGetSystemPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy> + getGetSystemPolicyMethod; if ((getGetSystemPolicyMethod = SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod) == null) { synchronized (SystemPolicyV1Beta1Grpc.class) { if ((getGetSystemPolicyMethod = SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod) == null) { - SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod = getGetSystemPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new SystemPolicyV1Beta1MethodDescriptorSupplier("GetSystemPolicy")) - .build(); + SystemPolicyV1Beta1Grpc.getGetSystemPolicyMethod = + getGetSystemPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.binaryauthorization.v1beta1.Policy + .getDefaultInstance())) + .setSchemaDescriptor( + new SystemPolicyV1Beta1MethodDescriptorSupplier("GetSystemPolicy")) + .build(); } } } return getGetSystemPolicyMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static SystemPolicyV1Beta1Stub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Beta1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Beta1Stub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Beta1Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Beta1Stub(channel, callOptions); + } + }; return SystemPolicyV1Beta1Stub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static SystemPolicyV1Beta1BlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static SystemPolicyV1Beta1BlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Beta1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Beta1BlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Beta1BlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Beta1BlockingStub(channel, callOptions); + } + }; return SystemPolicyV1Beta1BlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static SystemPolicyV1Beta1FutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static SystemPolicyV1Beta1FutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Beta1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Beta1FutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public SystemPolicyV1Beta1FutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new SystemPolicyV1Beta1FutureStub(channel, callOptions); + } + }; return SystemPolicyV1Beta1FutureStub.newStub(factory, channel); } /** + * + * *
    * API for working with the system policy.
    * 
@@ -101,40 +134,47 @@ public SystemPolicyV1Beta1FutureStub newStub(io.grpc.Channel channel, io.grpc.Ca public interface AsyncService { /** + * + * *
      * Gets the current system policy in the specified location.
      * 
*/ - default void getSystemPolicy(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSystemPolicyMethod(), responseObserver); + default void getSystemPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSystemPolicyMethod(), responseObserver); } } /** * Base class for the server implementation of the service SystemPolicyV1Beta1. + * *
    * API for working with the system policy.
    * 
*/ - public static abstract class SystemPolicyV1Beta1ImplBase + public abstract static class SystemPolicyV1Beta1ImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return SystemPolicyV1Beta1Grpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1Beta1. + * *
    * API for working with the system policy.
    * 
*/ public static final class SystemPolicyV1Beta1Stub extends io.grpc.stub.AbstractAsyncStub { - private SystemPolicyV1Beta1Stub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private SystemPolicyV1Beta1Stub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -145,19 +185,26 @@ protected SystemPolicyV1Beta1Stub build( } /** + * + * *
      * Gets the current system policy in the specified location.
      * 
*/ - public void getSystemPolicy(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getSystemPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), + request, + responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1Beta1. + * *
    * API for working with the system policy.
    * 
@@ -176,11 +223,14 @@ protected SystemPolicyV1Beta1BlockingStub build( } /** + * + * *
      * Gets the current system policy in the specified location.
      * 
*/ - public com.google.cloud.binaryauthorization.v1beta1.Policy getSystemPolicy(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { + public com.google.cloud.binaryauthorization.v1beta1.Policy getSystemPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSystemPolicyMethod(), getCallOptions(), request); } @@ -188,6 +238,7 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy getSystemPolicy(com.g /** * A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1Beta1. + * *
    * API for working with the system policy.
    * 
@@ -206,12 +257,16 @@ protected SystemPolicyV1Beta1FutureStub build( } /** + * + * *
      * Gets the current system policy in the specified location.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getSystemPolicy( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.binaryauthorization.v1beta1.Policy> + getSystemPolicy( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request); } @@ -219,11 +274,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -237,8 +292,10 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET_SYSTEM_POLICY: - serviceImpl.getSystemPolicy((com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getSystemPolicy( + (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -259,22 +316,24 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetSystemPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, - com.google.cloud.binaryauthorization.v1beta1.Policy>( - service, METHODID_GET_SYSTEM_POLICY))) + getGetSystemPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest, + com.google.cloud.binaryauthorization.v1beta1.Policy>( + service, METHODID_GET_SYSTEM_POLICY))) .build(); } - private static abstract class SystemPolicyV1Beta1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class SystemPolicyV1Beta1BaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { SystemPolicyV1Beta1BaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.getDescriptor(); + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .getDescriptor(); } @java.lang.Override @@ -311,10 +370,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (SystemPolicyV1Beta1Grpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SystemPolicyV1Beta1FileDescriptorSupplier()) - .addMethod(getGetSystemPolicyMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new SystemPolicyV1Beta1FileDescriptorSupplier()) + .addMethod(getGetSystemPolicyMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/AttestorName.java diff --git a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/PolicyName.java diff --git a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ProjectName.java diff --git a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java similarity index 60% rename from owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java index 2de6c1f63c72..89a38bb6d3b7 100644 --- a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Resources.java @@ -1,3 +1,18 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1/resources.proto @@ -5,62 +20,73 @@ public final class Resources { private Resources() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); } - public interface PolicyOrBuilder extends + + public interface PolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.Policy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -68,11 +94,16 @@ public interface PolicyOrBuilder extends
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ int getGlobalPolicyEvaluationModeValue(); /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -80,66 +111,100 @@ public interface PolicyOrBuilder extends
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The globalPolicyEvaluationMode. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode + getGlobalPolicyEvaluationMode(); /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern> getAdmissionWhitelistPatternsList(); /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + getAdmissionWhitelistPatterns(int index); /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdmissionWhitelistPatternsCount(); /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsOrBuilderList(); /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( - int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder + getAdmissionWhitelistPatternsOrBuilder(int index); /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -150,10 +215,14 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhiteli
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getClusterAdmissionRulesCount(); /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -164,17 +233,20 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhiteli
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsClusterAdmissionRules( - java.lang.String key); - /** - * Use {@link #getClusterAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsClusterAdmissionRules(java.lang.String key); + /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getClusterAdmissionRules(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getClusterAdmissionRules(); /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -185,11 +257,17 @@ boolean containsClusterAdmissionRules(
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getClusterAdmissionRulesMap(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getClusterAdmissionRulesMap(); /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -200,14 +278,20 @@ boolean containsClusterAdmissionRules(
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getClusterAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue); /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -218,130 +302,180 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrThrow( - java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getClusterAdmissionRulesOrThrow(java.lang.String key); /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getKubernetesNamespaceAdmissionRulesCount(); /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsKubernetesNamespaceAdmissionRules( - java.lang.String key); - /** - * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key); + /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getKubernetesNamespaceAdmissionRules(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesNamespaceAdmissionRules(); /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getKubernetesNamespaceAdmissionRulesMap(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesNamespaceAdmissionRulesMap(); /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue); /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( - java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key); /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getKubernetesServiceAccountAdmissionRulesCount(); /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsKubernetesServiceAccountAdmissionRules( - java.lang.String key); - /** - * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key); + /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getKubernetesServiceAccountAdmissionRules(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesServiceAccountAdmissionRules(); /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getKubernetesServiceAccountAdmissionRulesMap(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesServiceAccountAdmissionRulesMap(); /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue); /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( - java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key); /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -350,10 +484,14 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getIstioServiceIdentityAdmissionRulesCount(); /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -362,17 +500,20 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsIstioServiceIdentityAdmissionRules( - java.lang.String key); - /** - * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key); + /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Deprecated - java.util.Map - getIstioServiceIdentityAdmissionRules(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getIstioServiceIdentityAdmissionRules(); /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -381,11 +522,17 @@ boolean containsIstioServiceIdentityAdmissionRules(
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.Map - getIstioServiceIdentityAdmissionRulesMap(); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getIstioServiceIdentityAdmissionRulesMap(); /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -394,14 +541,20 @@ boolean containsIstioServiceIdentityAdmissionRules(
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue); /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -410,84 +563,119 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( - java.lang.String key); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key); /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the defaultAdmissionRule field is set. */ boolean hasDefaultAdmissionRule(); /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The defaultAdmissionRule. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultAdmissionRule(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getDefaultAdmissionRule(); /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder + getDefaultAdmissionRuleOrBuilder(); /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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. Time when the policy was last updated.
      * 
* - * .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. Time when the policy was last updated.
      * 
* - * .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 [policy][google.cloud.binaryauthorization.v1.Policy] for container image binary authorization.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.Policy} */ - public static final class Policy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Policy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.Policy) PolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Policy.newBuilder() to construct. private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Policy() { name_ = ""; description_ = ""; @@ -497,20 +685,18 @@ private Policy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Policy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -521,24 +707,27 @@ protected com.google.protobuf.MapField internalGetMapField( case 9: return internalGetIstioServiceIdentityAdmissionRules(); 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.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder.class); } /** * Protobuf enum {@code google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode} */ - public enum GlobalPolicyEvaluationMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Not specified: DISABLE is assumed.
        * 
@@ -547,6 +736,8 @@ public enum GlobalPolicyEvaluationMode */ GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED(0), /** + * + * *
        * Enables system policy evaluation.
        * 
@@ -555,6 +746,8 @@ public enum GlobalPolicyEvaluationMode */ ENABLE(1), /** + * + * *
        * Disables system policy evaluation.
        * 
@@ -566,6 +759,8 @@ public enum GlobalPolicyEvaluationMode ; /** + * + * *
        * Not specified: DISABLE is assumed.
        * 
@@ -574,6 +769,8 @@ public enum GlobalPolicyEvaluationMode */ public static final int GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Enables system policy evaluation.
        * 
@@ -582,6 +779,8 @@ public enum GlobalPolicyEvaluationMode */ public static final int ENABLE_VALUE = 1; /** + * + * *
        * Disables system policy evaluation.
        * 
@@ -590,7 +789,6 @@ public enum GlobalPolicyEvaluationMode */ public static final int DISABLE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -615,10 +813,14 @@ public static GlobalPolicyEvaluationMode valueOf(int value) { */ public static GlobalPolicyEvaluationMode forNumber(int value) { switch (value) { - case 0: return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; - case 1: return ENABLE; - case 2: return DISABLE; - default: return null; + case 0: + return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; + case 1: + return ENABLE; + case 2: + return DISABLE; + default: + return null; } } @@ -626,29 +828,32 @@ public static GlobalPolicyEvaluationMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GlobalPolicyEvaluationMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GlobalPolicyEvaluationMode findValueByNumber(int number) { - return GlobalPolicyEvaluationMode.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 GlobalPolicyEvaluationMode findValueByNumber(int number) { + return GlobalPolicyEvaluationMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDescriptor() + .getEnumTypes() + .get(0); } private static final GlobalPolicyEvaluationMode[] VALUES = values(); @@ -656,8 +861,7 @@ public GlobalPolicyEvaluationMode findValueByNumber(int number) { public static GlobalPolicyEvaluationMode 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; @@ -675,15 +879,19 @@ private GlobalPolicyEvaluationMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -692,30 +900,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; } } /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -724,14 +932,18 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -740,29 +952,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -773,6 +985,8 @@ public java.lang.String getDescription() { public static final int GLOBAL_POLICY_EVALUATION_MODE_FIELD_NUMBER = 7; private int globalPolicyEvaluationMode_ = 0; /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -780,13 +994,19 @@ public java.lang.String getDescription() {
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override + public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -794,112 +1014,173 @@ public java.lang.String getDescription() {
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The globalPolicyEvaluationMode. */ - @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode + getGlobalPolicyEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode.UNRECOGNIZED + : result; } public static final int ADMISSION_WHITELIST_PATTERNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List admissionWhitelistPatterns_; + private java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern> + admissionWhitelistPatterns_; /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAdmissionWhitelistPatternsList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern> + getAdmissionWhitelistPatternsList() { return admissionWhitelistPatterns_; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsOrBuilderList() { return admissionWhitelistPatterns_; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdmissionWhitelistPatternsCount() { return admissionWhitelistPatterns_.size(); } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + getAdmissionWhitelistPatterns(int index) { return admissionWhitelistPatterns_.get(index); } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder + getAdmissionWhitelistPatternsOrBuilder(int index) { return admissionWhitelistPatterns_.get(index); } public static final int CLUSTER_ADMISSION_RULES_FIELD_NUMBER = 3; + private static final class ClusterAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> clusterAdmissionRules_; - private com.google.protobuf.MapField - internalGetClusterAdmissionRules() { + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + clusterAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } return clusterAdmissionRules_; } + public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -910,23 +1191,29 @@ public int getClusterAdmissionRulesCount() {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsClusterAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsClusterAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getClusterAdmissionRulesMap()} instead. - */ + /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getClusterAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -937,13 +1224,20 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public java.util.Map getClusterAdmissionRulesMap() {
+    public java.util.Map<
+            java.lang.String,
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+        getClusterAdmissionRulesMap() {
       return internalGetClusterAdmissionRules().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -954,20 +1248,30 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetClusterAdmissionRules().getMap();
+    public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .AdmissionRule
+        getClusterAdmissionRulesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+                defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map<
+              java.lang.String,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+          map = internalGetClusterAdmissionRules().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -978,14 +1282,20 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetClusterAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getClusterAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -993,98 +1303,143 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } public static final int KUBERNETES_NAMESPACE_ADMISSION_RULES_FIELD_NUMBER = 10; + private static final class KubernetesNamespaceAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesNamespaceAdmissionRules_; - private com.google.protobuf.MapField - internalGetKubernetesNamespaceAdmissionRules() { + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + kubernetesNamespaceAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesNamespaceAdmissionRules_; } + public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesNamespaceAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule + getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      * [a-z.-]+, e.g. 'some-namespace'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1092,98 +1447,143 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } public static final int KUBERNETES_SERVICE_ACCOUNT_ADMISSION_RULES_FIELD_NUMBER = 8; + private static final class KubernetesServiceAccountAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesServiceAccountAdmissionRules_; - private com.google.protobuf.MapField - internalGetKubernetesServiceAccountAdmissionRules() { + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + kubernetesServiceAccountAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesServiceAccountAdmissionRules_; } + public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesServiceAccountAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1191,32 +1591,48 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } public static final int ISTIO_SERVICE_IDENTITY_ADMISSION_RULES_FIELD_NUMBER = 9; + private static final class IstioServiceIdentityAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> defaultEntry = + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule.getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> istioServiceIdentityAdmissionRules_; - private com.google.protobuf.MapField - internalGetIstioServiceIdentityAdmissionRules() { + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + istioServiceIdentityAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } return istioServiceIdentityAdmissionRules_; } + public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1225,23 +1641,29 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. - */ + /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIstioServiceIdentityAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1250,13 +1672,20 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public java.util.Map getIstioServiceIdentityAdmissionRulesMap() {
+    public java.util.Map<
+            java.lang.String,
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+        getIstioServiceIdentityAdmissionRulesMap() {
       return internalGetIstioServiceIdentityAdmissionRules().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1265,20 +1694,30 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetIstioServiceIdentityAdmissionRules().getMap();
+    public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .AdmissionRule
+        getIstioServiceIdentityAdmissionRulesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+                defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map<
+              java.lang.String,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+          map = internalGetIstioServiceIdentityAdmissionRules().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -1287,14 +1726,20 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
      * e.g. spiffe://example.com/ns/test-ns/sa/default
      * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1302,14 +1747,20 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } public static final int DEFAULT_ADMISSION_RULE_FIELD_NUMBER = 4; - private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultAdmissionRule_; + private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultAdmissionRule_; /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the defaultAdmissionRule field is set. */ @java.lang.Override @@ -1317,39 +1768,61 @@ public boolean hasDefaultAdmissionRule() { return defaultAdmissionRule_ != null; } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The defaultAdmissionRule. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultAdmissionRule() { - return defaultAdmissionRule_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getDefaultAdmissionRule() { + return defaultAdmissionRule_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .getDefaultInstance() + : defaultAdmissionRule_; } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { - return defaultAdmissionRule_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder + getDefaultAdmissionRuleOrBuilder() { + return defaultAdmissionRule_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .getDefaultInstance() + : defaultAdmissionRule_; } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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 @@ -1357,11 +1830,16 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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 @@ -1369,11 +1847,15 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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() { @@ -1381,6 +1863,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1392,16 +1875,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_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { output.writeMessage(2, admissionWhitelistPatterns_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetClusterAdmissionRules(), ClusterAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -1415,23 +1896,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } - if (globalPolicyEvaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { + if (globalPolicyEvaluationMode_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, globalPolicyEvaluationMode_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetKubernetesServiceAccountAdmissionRules(), KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetIstioServiceIdentityAdmissionRules(), IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry, 9); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetKubernetesNamespaceAdmissionRules(), KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -1449,63 +1930,93 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, admissionWhitelistPatterns_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetClusterAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - clusterAdmissionRules__ = ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, clusterAdmissionRules__); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, admissionWhitelistPatterns_.get(i)); + } + for (java.util.Map.Entry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + entry : internalGetClusterAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + clusterAdmissionRules__ = + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, clusterAdmissionRules__); } if (defaultAdmissionRule_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDefaultAdmissionRule()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDefaultAdmissionRule()); } 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(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } - if (globalPolicyEvaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, globalPolicyEvaluationMode_); - } - for (java.util.Map.Entry entry - : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - kubernetesServiceAccountAdmissionRules__ = KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, kubernetesServiceAccountAdmissionRules__); - } - for (java.util.Map.Entry entry - : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - istioServiceIdentityAdmissionRules__ = IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, istioServiceIdentityAdmissionRules__); - } - for (java.util.Map.Entry entry - : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - kubernetesNamespaceAdmissionRules__ = KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, kubernetesNamespaceAdmissionRules__); + if (globalPolicyEvaluationMode_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(7, globalPolicyEvaluationMode_); + } + for (java.util.Map.Entry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + entry : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + kubernetesServiceAccountAdmissionRules__ = + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, kubernetesServiceAccountAdmissionRules__); + } + for (java.util.Map.Entry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + entry : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + istioServiceIdentityAdmissionRules__ = + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, istioServiceIdentityAdmissionRules__); + } + for (java.util.Map.Entry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + entry : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + kubernetesNamespaceAdmissionRules__ = + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, kubernetesNamespaceAdmissionRules__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1515,37 +2026,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.protos.google.cloud.binaryauthorization.v1.Resources.Policy)) { + if (!(obj + instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other = + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (globalPolicyEvaluationMode_ != other.globalPolicyEvaluationMode_) return false; - if (!getAdmissionWhitelistPatternsList() - .equals(other.getAdmissionWhitelistPatternsList())) return false; - if (!internalGetClusterAdmissionRules().equals( - other.internalGetClusterAdmissionRules())) return false; - if (!internalGetKubernetesNamespaceAdmissionRules().equals( - other.internalGetKubernetesNamespaceAdmissionRules())) return false; - if (!internalGetKubernetesServiceAccountAdmissionRules().equals( - other.internalGetKubernetesServiceAccountAdmissionRules())) return false; - if (!internalGetIstioServiceIdentityAdmissionRules().equals( - other.internalGetIstioServiceIdentityAdmissionRules())) return false; + if (!getAdmissionWhitelistPatternsList().equals(other.getAdmissionWhitelistPatternsList())) + return false; + if (!internalGetClusterAdmissionRules().equals(other.internalGetClusterAdmissionRules())) + return false; + if (!internalGetKubernetesNamespaceAdmissionRules() + .equals(other.internalGetKubernetesNamespaceAdmissionRules())) return false; + if (!internalGetKubernetesServiceAccountAdmissionRules() + .equals(other.internalGetKubernetesServiceAccountAdmissionRules())) return false; + if (!internalGetIstioServiceIdentityAdmissionRules() + .equals(other.internalGetIstioServiceIdentityAdmissionRules())) return false; if (hasDefaultAdmissionRule() != other.hasDefaultAdmissionRule()) return false; if (hasDefaultAdmissionRule()) { - if (!getDefaultAdmissionRule() - .equals(other.getDefaultAdmissionRule())) return false; + if (!getDefaultAdmissionRule().equals(other.getDefaultAdmissionRule())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1598,89 +2107,95 @@ public int hashCode() { } public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1690,24 +2205,26 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A [policy][google.cloud.binaryauthorization.v1.Policy] for container image binary authorization.
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.Policy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.Policy) com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -1718,13 +2235,12 @@ protected com.google.protobuf.MapField internalGetMapField( case 9: return internalGetIstioServiceIdentityAdmissionRules(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableClusterAdmissionRules(); @@ -1735,28 +2251,29 @@ protected com.google.protobuf.MapField internalGetMutableMapField( case 9: return internalGetMutableIstioServiceIdentityAdmissionRules(); 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.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder + .class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1789,19 +2306,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance(); } @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy build() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = buildPartial(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1810,17 +2330,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy bu @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(this); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result = + new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { + private void buildPartialRepeatedFields( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { if (admissionWhitelistPatternsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = + java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); bitField0_ = (bitField0_ & ~0x00000008); } result.admissionWhitelistPatterns_ = admissionWhitelistPatterns_; @@ -1829,7 +2354,8 @@ private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryaut } } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -1845,26 +2371,29 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 result.clusterAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.kubernetesNamespaceAdmissionRules_ = internalGetKubernetesNamespaceAdmissionRules(); + result.kubernetesNamespaceAdmissionRules_ = + internalGetKubernetesNamespaceAdmissionRules(); result.kubernetesNamespaceAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.kubernetesServiceAccountAdmissionRules_ = internalGetKubernetesServiceAccountAdmissionRules(); + result.kubernetesServiceAccountAdmissionRules_ = + internalGetKubernetesServiceAccountAdmissionRules(); result.kubernetesServiceAccountAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.istioServiceIdentityAdmissionRules_ = internalGetIstioServiceIdentityAdmissionRules(); + result.istioServiceIdentityAdmissionRules_ = + internalGetIstioServiceIdentityAdmissionRules(); result.istioServiceIdentityAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.defaultAdmissionRule_ = defaultAdmissionRuleBuilder_ == null - ? defaultAdmissionRule_ - : defaultAdmissionRuleBuilder_.build(); + result.defaultAdmissionRule_ = + defaultAdmissionRuleBuilder_ == null + ? defaultAdmissionRule_ + : defaultAdmissionRuleBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = + updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } @@ -1872,46 +2401,54 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.Policy) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy)other); + if (other + instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1943,25 +2480,26 @@ public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.R admissionWhitelistPatternsBuilder_ = null; admissionWhitelistPatterns_ = other.admissionWhitelistPatterns_; bitField0_ = (bitField0_ & ~0x00000008); - admissionWhitelistPatternsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdmissionWhitelistPatternsFieldBuilder() : null; + admissionWhitelistPatternsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdmissionWhitelistPatternsFieldBuilder() + : null; } else { admissionWhitelistPatternsBuilder_.addAllMessages(other.admissionWhitelistPatterns_); } } } - internalGetMutableClusterAdmissionRules().mergeFrom( - other.internalGetClusterAdmissionRules()); + internalGetMutableClusterAdmissionRules() + .mergeFrom(other.internalGetClusterAdmissionRules()); bitField0_ |= 0x00000010; - internalGetMutableKubernetesNamespaceAdmissionRules().mergeFrom( - other.internalGetKubernetesNamespaceAdmissionRules()); + internalGetMutableKubernetesNamespaceAdmissionRules() + .mergeFrom(other.internalGetKubernetesNamespaceAdmissionRules()); bitField0_ |= 0x00000020; - internalGetMutableKubernetesServiceAccountAdmissionRules().mergeFrom( - other.internalGetKubernetesServiceAccountAdmissionRules()); + internalGetMutableKubernetesServiceAccountAdmissionRules() + .mergeFrom(other.internalGetKubernetesServiceAccountAdmissionRules()); bitField0_ |= 0x00000040; - internalGetMutableIstioServiceIdentityAdmissionRules().mergeFrom( - other.internalGetIstioServiceIdentityAdmissionRules()); + internalGetMutableIstioServiceIdentityAdmissionRules() + .mergeFrom(other.internalGetIstioServiceIdentityAdmissionRules()); bitField0_ |= 0x00000080; if (other.hasDefaultAdmissionRule()) { mergeDefaultAdmissionRule(other.getDefaultAdmissionRule()); @@ -1995,90 +2533,135 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern m = - input.readMessage( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.parser(), - extensionRegistry); - if (admissionWhitelistPatternsBuilder_ == null) { - ensureAdmissionWhitelistPatternsIsMutable(); - admissionWhitelistPatterns_.add(m); - } else { - admissionWhitelistPatternsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - clusterAdmissionRules__ = input.readMessage( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableClusterAdmissionRules().getMutableMap().put( - clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: { - input.readMessage( - getDefaultAdmissionRuleFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 50 - case 56: { - globalPolicyEvaluationMode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 56 - case 66: { - com.google.protobuf.MapEntry - kubernetesServiceAccountAdmissionRules__ = input.readMessage( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put( - kubernetesServiceAccountAdmissionRules__.getKey(), kubernetesServiceAccountAdmissionRules__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: { - com.google.protobuf.MapEntry - istioServiceIdentityAdmissionRules__ = input.readMessage( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put( - istioServiceIdentityAdmissionRules__.getKey(), istioServiceIdentityAdmissionRules__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: { - com.google.protobuf.MapEntry - kubernetesNamespaceAdmissionRules__ = input.readMessage( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put( - kubernetesNamespaceAdmissionRules__.getKey(), kubernetesNamespaceAdmissionRules__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + m = + input.readMessage( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.parser(), + extensionRegistry); + if (admissionWhitelistPatternsBuilder_ == null) { + ensureAdmissionWhitelistPatternsIsMutable(); + admissionWhitelistPatterns_.add(m); + } else { + admissionWhitelistPatternsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule> + clusterAdmissionRules__ = + input.readMessage( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableClusterAdmissionRules() + .getMutableMap() + .put(clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + input.readMessage( + getDefaultAdmissionRuleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 50 + case 56: + { + globalPolicyEvaluationMode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 66: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule> + kubernetesServiceAccountAdmissionRules__ = + input.readMessage( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableKubernetesServiceAccountAdmissionRules() + .getMutableMap() + .put( + kubernetesServiceAccountAdmissionRules__.getKey(), + kubernetesServiceAccountAdmissionRules__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule> + istioServiceIdentityAdmissionRules__ = + input.readMessage( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableIstioServiceIdentityAdmissionRules() + .getMutableMap() + .put( + istioServiceIdentityAdmissionRules__.getKey(), + istioServiceIdentityAdmissionRules__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule> + kubernetesNamespaceAdmissionRules__ = + input.readMessage( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableKubernetesNamespaceAdmissionRules() + .getMutableMap() + .put( + kubernetesNamespaceAdmissionRules__.getKey(), + kubernetesNamespaceAdmissionRules__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2088,23 +2671,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2113,21 +2699,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2135,30 +2722,37 @@ public java.lang.String getName() { } } /** + * + * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -2168,18 +2762,22 @@ public Builder clearName() { return this; } /** + * + * *
        * Output only. The resource name, in the format `projects/*/policy`. There is
        * at most one policy per project.
        * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2189,18 +2787,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -2209,20 +2809,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -2230,28 +2831,35 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2261,17 +2869,21 @@ public Builder clearDescription() { return this; } /** + * + * *
        * Optional. A descriptive comment.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -2281,6 +2893,8 @@ public Builder setDescriptionBytes( private int globalPolicyEvaluationMode_ = 0; /** + * + * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2288,13 +2902,19 @@ public Builder setDescriptionBytes(
        * has no effect when specified inside a global admission policy.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override + public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** + * + * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2302,7 +2922,10 @@ public Builder setDescriptionBytes(
        * has no effect when specified inside a global admission policy.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for globalPolicyEvaluationMode to set. * @return This builder for chaining. */ @@ -2313,6 +2936,8 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) { return this; } /** + * + * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2320,15 +2945,29 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) {
        * has no effect when specified inside a global admission policy.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The globalPolicyEvaluationMode. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode + getGlobalPolicyEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode.UNRECOGNIZED + : result; } /** + * + * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2336,11 +2975,17 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Gl
        * has no effect when specified inside a global admission policy.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The globalPolicyEvaluationMode to set. * @return This builder for chaining. */ - public Builder setGlobalPolicyEvaluationMode(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.GlobalPolicyEvaluationMode value) { + public Builder setGlobalPolicyEvaluationMode( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .GlobalPolicyEvaluationMode + value) { if (value == null) { throw new NullPointerException(); } @@ -2350,6 +2995,8 @@ public Builder setGlobalPolicyEvaluationMode(com.google.protos.google.cloud.bina return this; } /** + * + * *
        * Optional. Controls the evaluation of a Google-maintained global admission
        * policy for common system-level images. Images not covered by the global
@@ -2357,7 +3004,10 @@ public Builder setGlobalPolicyEvaluationMode(com.google.protos.google.cloud.bina
        * has no effect when specified inside a global admission policy.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearGlobalPolicyEvaluationMode() { @@ -2367,28 +3017,47 @@ public Builder clearGlobalPolicyEvaluationMode() { return this; } - private java.util.List admissionWhitelistPatterns_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern> + admissionWhitelistPatterns_ = java.util.Collections.emptyList(); + private void ensureAdmissionWhitelistPatternsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = new java.util.ArrayList(admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = + new java.util.ArrayList< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern>(admissionWhitelistPatterns_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder> admissionWhitelistPatternsBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder> + admissionWhitelistPatternsBuilder_; /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAdmissionWhitelistPatternsList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern> + getAdmissionWhitelistPatternsList() { if (admissionWhitelistPatternsBuilder_ == null) { return java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); } else { @@ -2396,13 +3065,17 @@ public java.util.List * Optional. Admission policy allowlisting. A matching admission request will * always be permitted. This feature is typically used to exclude Google or * third-party infrastructure images from Binary Authorization policies. *
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdmissionWhitelistPatternsCount() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2412,15 +3085,21 @@ public int getAdmissionWhitelistPatternsCount() { } } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + getAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { return admissionWhitelistPatterns_.get(index); } else { @@ -2428,16 +3107,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdmissionWhitelistPatterns( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern value) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2451,16 +3136,23 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdmissionWhitelistPatterns( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder builderForValue) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + .Builder + builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.set(index, builderForValue.build()); @@ -2471,15 +3163,21 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAdmissionWhitelistPatterns(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern value) { + public Builder addAdmissionWhitelistPatterns( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2493,16 +3191,22 @@ public Builder addAdmissionWhitelistPatterns(com.google.protos.google.cloud.bina return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdmissionWhitelistPatterns( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern value) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2516,16 +3220,22 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdmissionWhitelistPatterns( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + .Builder + builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(builderForValue.build()); @@ -2536,16 +3246,23 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdmissionWhitelistPatterns( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder builderForValue) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + .Builder + builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(index, builderForValue.build()); @@ -2556,16 +3273,24 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdmissionWhitelistPatterns( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern> + values) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -2577,13 +3302,17 @@ public Builder addAllAdmissionWhitelistPatterns( return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdmissionWhitelistPatterns() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2596,13 +3325,17 @@ public Builder clearAdmissionWhitelistPatterns() { return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2615,45 +3348,63 @@ public Builder removeAdmissionWhitelistPatterns(int index) { return this; } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder getAdmissionWhitelistPatternsBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.Builder + getAdmissionWhitelistPatternsBuilder(int index) { return getAdmissionWhitelistPatternsFieldBuilder().getBuilder(index); } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder + getAdmissionWhitelistPatternsOrBuilder(int index) { if (admissionWhitelistPatternsBuilder_ == null) { - return admissionWhitelistPatterns_.get(index); } else { + return admissionWhitelistPatterns_.get(index); + } else { return admissionWhitelistPatternsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdmissionWhitelistPatternsOrBuilderList() { + public java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder> + getAdmissionWhitelistPatternsOrBuilderList() { if (admissionWhitelistPatternsBuilder_ != null) { return admissionWhitelistPatternsBuilder_.getMessageOrBuilderList(); } else { @@ -2661,51 +3412,85 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder() { - return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.Builder + addAdmissionWhitelistPatternsBuilder() { + return getAdmissionWhitelistPatternsFieldBuilder() + .addBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.getDefaultInstance()); } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder( - int index) { - return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( - index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.Builder + addAdmissionWhitelistPatternsBuilder(int index) { + return getAdmissionWhitelistPatternsFieldBuilder() + .addBuilder( + index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.getDefaultInstance()); } /** + * + * *
        * Optional. Admission policy allowlisting. A matching admission request will
        * always be permitted. This feature is typically used to exclude Google or
        * third-party infrastructure images from Binary Authorization policies.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdmissionWhitelistPatternsBuilderList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.Builder> + getAdmissionWhitelistPatternsBuilderList() { return getAdmissionWhitelistPatternsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsFieldBuilder() { if (admissionWhitelistPatternsBuilder_ == null) { - admissionWhitelistPatternsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder>( + admissionWhitelistPatternsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPatternOrBuilder>( admissionWhitelistPatterns_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -2716,8 +3501,13 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> clusterAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + clusterAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2725,11 +3515,15 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission } return clusterAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetMutableClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { - clusterAdmissionRules_ = com.google.protobuf.MapField.newMapField( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); + clusterAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!clusterAdmissionRules_.isMutable()) { clusterAdmissionRules_ = clusterAdmissionRules_.copy(); @@ -2738,10 +3532,13 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission onChanged(); return clusterAdmissionRules_; } + public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** + * + * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2752,23 +3549,29 @@ public int getClusterAdmissionRulesCount() {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsClusterAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsClusterAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getClusterAdmissionRulesMap()} instead. - */ + /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getClusterAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** + * + * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2779,13 +3582,20 @@ public java.util.Map
        *
-       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+       * 
+       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+       * 
        */
       @java.lang.Override
-      public java.util.Map getClusterAdmissionRulesMap() {
+      public java.util.Map<
+              java.lang.String,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+          getClusterAdmissionRulesMap() {
         return internalGetClusterAdmissionRules().getMap();
       }
       /**
+       *
+       *
        * 
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2796,20 +3606,30 @@ public java.util.Map
        *
-       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+       * 
+       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+       * 
        */
       @java.lang.Override
-      public /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrDefault(
-          java.lang.String key,
-          /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetClusterAdmissionRules().getMap();
+      public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources
+              .AdmissionRule
+          getClusterAdmissionRulesOrDefault(
+              java.lang.String key,
+              /* nullable */
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+                  defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map<
+                java.lang.String,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+            map = internalGetClusterAdmissionRules().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2820,26 +3640,34 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getClusterAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetClusterAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getClusterAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearClusterAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableClusterAdmissionRules().getMutableMap() - .clear(); + internalGetMutableClusterAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2850,25 +3678,29 @@ public Builder clearClusterAdmissionRules() {
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeClusterAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableClusterAdmissionRules().getMutableMap() - .remove(key); + public Builder removeClusterAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableClusterAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> getMutableClusterAdmissionRules() { bitField0_ |= 0x00000010; return internalGetMutableClusterAdmissionRules().getMutableMap(); } /** + * + * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2879,19 +3711,26 @@ public Builder removeClusterAdmissionRules(
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putClusterAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableClusterAdmissionRules().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableClusterAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
        * Optional. Per-cluster admission rules. Cluster spec format:
        * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2902,19 +3741,28 @@ public Builder putClusterAdmissionRules(
        * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllClusterAdmissionRules( - java.util.Map values) { - internalGetMutableClusterAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + values) { + internalGetMutableClusterAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesNamespaceAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + kubernetesNamespaceAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2922,11 +3770,15 @@ public Builder putAllClusterAdmissionRules( } return kubernetesNamespaceAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetMutableKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { - kubernetesNamespaceAdmissionRules_ = com.google.protobuf.MapField.newMapField( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesNamespaceAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesNamespaceAdmissionRules_.isMutable()) { kubernetesNamespaceAdmissionRules_ = kubernetesNamespaceAdmissionRules_.copy(); @@ -2935,148 +3787,202 @@ public Builder putAllClusterAdmissionRules( onChanged(); return kubernetesNamespaceAdmissionRules_; } + public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** + * + * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesNamespaceAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** + * + * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** + * + * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule + getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearKubernetesNamespaceAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .clear(); + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeKubernetesNamespaceAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .remove(key); + public Builder removeKubernetesNamespaceAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> getMutableKubernetesNamespaceAdmissionRules() { bitField0_ |= 0x00000020; return internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap(); } /** + * + * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putKubernetesNamespaceAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
        * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
        * [a-z.-]+, e.g. 'some-namespace'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllKubernetesNamespaceAdmissionRules( - java.util.Map values) { - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + values) { + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> kubernetesServiceAccountAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + kubernetesServiceAccountAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3084,11 +3990,15 @@ public Builder putAllKubernetesNamespaceAdmissionRules( } return kubernetesServiceAccountAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetMutableKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { - kubernetesServiceAccountAdmissionRules_ = com.google.protobuf.MapField.newMapField( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesServiceAccountAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesServiceAccountAdmissionRules_.isMutable()) { kubernetesServiceAccountAdmissionRules_ = kubernetesServiceAccountAdmissionRules_.copy(); @@ -3097,148 +4007,202 @@ public Builder putAllKubernetesNamespaceAdmissionRules( onChanged(); return kubernetesServiceAccountAdmissionRules_; } + public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** + * + * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesServiceAccountAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** + * + * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** + * + * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearKubernetesServiceAccountAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .clear(); + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeKubernetesServiceAccountAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .remove(key); + public Builder removeKubernetesServiceAccountAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> getMutableKubernetesServiceAccountAdmissionRules() { bitField0_ |= 0x00000040; return internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap(); } /** + * + * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putKubernetesServiceAccountAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
        * Optional. Per-kubernetes-service-account admission rules. Service account
        * spec format: `namespace:serviceaccount`. e.g. 'test-ns:default'
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllKubernetesServiceAccountAdmissionRules( - java.util.Map values) { - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + values) { + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> istioServiceIdentityAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + istioServiceIdentityAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3246,11 +4210,15 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( } return istioServiceIdentityAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> internalGetMutableIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { - istioServiceIdentityAdmissionRules_ = com.google.protobuf.MapField.newMapField( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); + istioServiceIdentityAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!istioServiceIdentityAdmissionRules_.isMutable()) { istioServiceIdentityAdmissionRules_ = istioServiceIdentityAdmissionRules_.copy(); @@ -3259,10 +4227,13 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( onChanged(); return istioServiceIdentityAdmissionRules_; } + public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** + * + * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -3271,23 +4242,29 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. - */ + /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIstioServiceIdentityAdmissionRules() { + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** + * + * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -3296,13 +4273,20 @@ public java.util.Map
        *
-       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+       * 
+       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+       * 
        */
       @java.lang.Override
-      public java.util.Map getIstioServiceIdentityAdmissionRulesMap() {
+      public java.util.Map<
+              java.lang.String,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+          getIstioServiceIdentityAdmissionRulesMap() {
         return internalGetIstioServiceIdentityAdmissionRules().getMap();
       }
       /**
+       *
+       *
        * 
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -3311,20 +4295,30 @@ public java.util.Map
        *
-       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+       * 
+       * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+       * 
        */
       @java.lang.Override
-      public /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault(
-          java.lang.String key,
-          /* nullable */
-com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetIstioServiceIdentityAdmissionRules().getMap();
+      public /* nullable */ com.google.protos.google.cloud.binaryauthorization.v1.Resources
+              .AdmissionRule
+          getIstioServiceIdentityAdmissionRulesOrDefault(
+              java.lang.String key,
+              /* nullable */
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+                  defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map<
+                java.lang.String,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule>
+            map = internalGetIstioServiceIdentityAdmissionRules().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -3333,26 +4327,34 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule ge
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + map = internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearIstioServiceIdentityAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .clear(); + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -3361,25 +4363,29 @@ public Builder clearIstioServiceIdentityAdmissionRules() {
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeIstioServiceIdentityAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .remove(key); + public Builder removeIstioServiceIdentityAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> getMutableIstioServiceIdentityAdmissionRules() { bitField0_ |= 0x00000080; return internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap(); } /** + * + * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -3388,19 +4394,26 @@ public Builder removeIstioServiceIdentityAdmissionRules(
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putIstioServiceIdentityAdmissionRules( java.lang.String key, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .put(key, value); + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000080; return this; } /** + * + * *
        * Optional. Per-istio-service-identity admission rules. Istio service
        * identity spec format:
@@ -3409,56 +4422,84 @@ public Builder putIstioServiceIdentityAdmissionRules(
        * e.g. spiffe://example.com/ns/test-ns/sa/default
        * 
* - * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllIstioServiceIdentityAdmissionRules( - java.util.Map values) { - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule> + values) { + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } - private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule defaultAdmissionRule_; + private com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + defaultAdmissionRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder> defaultAdmissionRuleBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRuleOrBuilder> + defaultAdmissionRuleBuilder_; /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the defaultAdmissionRule field is set. */ public boolean hasDefaultAdmissionRule() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The defaultAdmissionRule. */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultAdmissionRule() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getDefaultAdmissionRule() { if (defaultAdmissionRuleBuilder_ == null) { - return defaultAdmissionRule_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + return defaultAdmissionRule_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .getDefaultInstance() + : defaultAdmissionRule_; } else { return defaultAdmissionRuleBuilder_.getMessage(); } } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDefaultAdmissionRule(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { + public Builder setDefaultAdmissionRule( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3472,15 +4513,20 @@ public Builder setDefaultAdmissionRule(com.google.protos.google.cloud.binaryauth return this; } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDefaultAdmissionRule( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder + builderForValue) { if (defaultAdmissionRuleBuilder_ == null) { defaultAdmissionRule_ = builderForValue.build(); } else { @@ -3491,18 +4537,25 @@ public Builder setDefaultAdmissionRule( return this; } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDefaultAdmissionRule(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { + public Builder mergeDefaultAdmissionRule( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - defaultAdmissionRule_ != null && - defaultAdmissionRule_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && defaultAdmissionRule_ != null + && defaultAdmissionRule_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .getDefaultInstance()) { getDefaultAdmissionRuleBuilder().mergeFrom(value); } else { defaultAdmissionRule_ = value; @@ -3515,12 +4568,16 @@ public Builder mergeDefaultAdmissionRule(com.google.protos.google.cloud.binaryau return this; } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDefaultAdmissionRule() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3533,51 +4590,73 @@ public Builder clearDefaultAdmissionRule() { return this; } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder getDefaultAdmissionRuleBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder + getDefaultAdmissionRuleBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDefaultAdmissionRuleFieldBuilder().getBuilder(); } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder + getDefaultAdmissionRuleOrBuilder() { if (defaultAdmissionRuleBuilder_ != null) { return defaultAdmissionRuleBuilder_.getMessageOrBuilder(); } else { - return defaultAdmissionRule_ == null ? - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + return defaultAdmissionRule_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .getDefaultInstance() + : defaultAdmissionRule_; } } /** + * + * *
        * Required. Default admission rule for a cluster without a per-cluster, per-
        * kubernetes-service-account, or per-istio-service-identity admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRuleOrBuilder> getDefaultAdmissionRuleFieldBuilder() { if (defaultAdmissionRuleBuilder_ == null) { - defaultAdmissionRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder>( - getDefaultAdmissionRule(), - getParentForChildren(), - isClean()); + defaultAdmissionRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRuleOrBuilder>( + getDefaultAdmissionRule(), getParentForChildren(), isClean()); defaultAdmissionRule_ = null; } return defaultAdmissionRuleBuilder_; @@ -3585,39 +4664,58 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * Output only. Time when the policy was last updated.
        * 
* - * .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 ((bitField0_ & 0x00000200) != 0); } /** + * + * *
        * Output only. Time when the policy was last updated.
        * 
* - * .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. Time when the policy was last updated.
        * 
* - * .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) { @@ -3633,14 +4731,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time when the policy was last updated.
        * 
* - * .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(); } else { @@ -3651,17 +4752,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Output only. Time when the policy was last updated.
        * 
* - * .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 (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3674,11 +4779,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time when the policy was last updated.
        * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3691,11 +4800,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Output only. Time when the policy was last updated.
        * 
* - * .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() { bitField0_ |= 0x00000200; @@ -3703,40 +4816,53 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Time when the policy was last updated.
        * 
* - * .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. Time when the policy was last updated.
        * 
* - * .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_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3749,41 +4875,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.Policy) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.Policy) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3795,17 +4925,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AdmissionWhitelistPatternOrBuilder extends + public interface AdmissionWhitelistPatternOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -3814,10 +4947,13 @@ public interface AdmissionWhitelistPatternOrBuilder extends
      * 
* * string name_pattern = 1; + * * @return The namePattern. */ java.lang.String getNamePattern(); /** + * + * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -3826,12 +4962,14 @@ public interface AdmissionWhitelistPatternOrBuilder extends
      * 
* * string name_pattern = 1; + * * @return The bytes for namePattern. */ - com.google.protobuf.ByteString - getNamePatternBytes(); + com.google.protobuf.ByteString getNamePatternBytes(); } /** + * + * *
    * An [admission allowlist pattern][google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern] exempts images
    * from checks by [admission rules][google.cloud.binaryauthorization.v1.AdmissionRule].
@@ -3839,43 +4977,50 @@ public interface AdmissionWhitelistPatternOrBuilder extends
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern}
    */
-  public static final class AdmissionWhitelistPattern extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AdmissionWhitelistPattern extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern)
       AdmissionWhitelistPatternOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AdmissionWhitelistPattern.newBuilder() to construct.
     private AdmissionWhitelistPattern(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AdmissionWhitelistPattern() {
       namePattern_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AdmissionWhitelistPattern();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                  .AdmissionWhitelistPattern.class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                  .AdmissionWhitelistPattern.Builder.class);
     }
 
     public static final int NAME_PATTERN_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object namePattern_ = "";
     /**
+     *
+     *
      * 
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -3884,6 +5029,7 @@ protected java.lang.Object newInstance(
      * 
* * string name_pattern = 1; + * * @return The namePattern. */ @java.lang.Override @@ -3892,14 +5038,15 @@ public java.lang.String getNamePattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; } } /** + * + * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` wildcard, but this is allowed only in
@@ -3908,16 +5055,15 @@ public java.lang.String getNamePattern() {
      * 
* * string name_pattern = 1; + * * @return The bytes for namePattern. */ @java.lang.Override - public com.google.protobuf.ByteString - getNamePatternBytes() { + public com.google.protobuf.ByteString getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namePattern_ = b; return b; } else { @@ -3926,6 +5072,7 @@ public java.lang.String getNamePattern() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3937,8 +5084,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namePattern_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namePattern_); } @@ -3962,15 +5108,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.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + other = + (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern) + obj; - if (!getNamePattern() - .equals(other.getNamePattern())) return false; + if (!getNamePattern().equals(other.getNamePattern())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3989,90 +5141,114 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4082,6 +5258,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An [admission allowlist pattern][google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern] exempts images
      * from checks by [admission rules][google.cloud.binaryauthorization.v1.AdmissionRule].
@@ -4089,33 +5267,37 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern)
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPatternOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .AdmissionWhitelistPatternOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                    .AdmissionWhitelistPattern.class,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                    .AdmissionWhitelistPattern.Builder.class);
       }
 
-      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4125,19 +5307,25 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources
+              .AdmissionWhitelistPattern
+          getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .AdmissionWhitelistPattern.getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern result = buildPartial();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources
+              .AdmissionWhitelistPattern
+          build() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
+            result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -4145,14 +5333,23 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources
+              .AdmissionWhitelistPattern
+          buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
+            result =
+                new com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                    .AdmissionWhitelistPattern(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern result) {
+      private void buildPartial0(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
+              result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.namePattern_ = namePattern_;
@@ -4163,46 +5360,59 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern) {
-          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern)other);
+        if (other
+            instanceof
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                .AdmissionWhitelistPattern) {
+          return mergeFrom(
+              (com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                      .AdmissionWhitelistPattern)
+                  other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern other) {
-        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern
+              other) {
+        if (other
+            == com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                .AdmissionWhitelistPattern.getDefaultInstance()) return this;
         if (!other.getNamePattern().isEmpty()) {
           namePattern_ = other.namePattern_;
           bitField0_ |= 0x00000001;
@@ -4234,17 +5444,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                namePattern_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  namePattern_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4254,10 +5466,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object namePattern_ = "";
       /**
+       *
+       *
        * 
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -4266,13 +5481,13 @@ public Builder mergeFrom(
        * 
* * string name_pattern = 1; + * * @return The namePattern. */ public java.lang.String getNamePattern() { java.lang.Object ref = namePattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; @@ -4281,6 +5496,8 @@ public java.lang.String getNamePattern() { } } /** + * + * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -4289,15 +5506,14 @@ public java.lang.String getNamePattern() {
        * 
* * string name_pattern = 1; + * * @return The bytes for namePattern. */ - public com.google.protobuf.ByteString - getNamePatternBytes() { + public com.google.protobuf.ByteString getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namePattern_ = b; return b; } else { @@ -4305,6 +5521,8 @@ public java.lang.String getNamePattern() { } } /** + * + * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -4313,18 +5531,22 @@ public java.lang.String getNamePattern() {
        * 
* * string name_pattern = 1; + * * @param value The namePattern to set. * @return This builder for chaining. */ - public Builder setNamePattern( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamePattern(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -4333,6 +5555,7 @@ public Builder setNamePattern(
        * 
* * string name_pattern = 1; + * * @return This builder for chaining. */ public Builder clearNamePattern() { @@ -4342,6 +5565,8 @@ public Builder clearNamePattern() { return this; } /** + * + * *
        * An image name pattern to allowlist, in the form `registry/path/to/image`.
        * This supports a trailing `*` wildcard, but this is allowed only in
@@ -4350,18 +5575,21 @@ public Builder clearNamePattern() {
        * 
* * string name_pattern = 1; + * * @param value The bytes for namePattern to set. * @return This builder for chaining. */ - public Builder setNamePatternBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamePatternBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4374,41 +5602,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionWhitelistPattern + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionWhitelistPattern parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionWhitelistPattern parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4420,36 +5655,50 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionWhitelistPattern + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AdmissionRuleOrBuilder extends + public interface AdmissionRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.AdmissionRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** + * + * *
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The evaluationMode. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode getEvaluationMode(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode + getEvaluationMode(); /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4461,12 +5710,15 @@ public interface AdmissionRuleOrBuilder extends
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requireAttestationsBy. */ - java.util.List - getRequireAttestationsByList(); + java.util.List getRequireAttestationsByList(); /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4478,11 +5730,15 @@ public interface AdmissionRuleOrBuilder extends
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requireAttestationsBy. */ int getRequireAttestationsByCount(); /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4494,12 +5750,16 @@ public interface AdmissionRuleOrBuilder extends
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ java.lang.String getRequireAttestationsBy(int index); /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4511,33 +5771,47 @@ public interface AdmissionRuleOrBuilder extends
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - com.google.protobuf.ByteString - getRequireAttestationsByBytes(int index); + com.google.protobuf.ByteString getRequireAttestationsByBytes(int index); /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for enforcementMode. */ int getEnforcementModeValue(); /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enforcementMode. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode getEnforcementMode(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode + getEnforcementMode(); } /** + * + * *
    * An [admission rule][google.cloud.binaryauthorization.v1.AdmissionRule] specifies either that all container images
    * used in a pod creation request must be attested to by one or more
@@ -4550,48 +5824,49 @@ public interface AdmissionRuleOrBuilder extends
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionRule}
    */
-  public static final class AdmissionRule extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AdmissionRule extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.AdmissionRule)
       AdmissionRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AdmissionRule.newBuilder() to construct.
     private AdmissionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AdmissionRule() {
       evaluationMode_ = 0;
-      requireAttestationsBy_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
       enforcementMode_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AdmissionRule();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder
+                  .class);
     }
 
-    /**
-     * Protobuf enum {@code google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode}
-     */
-    public enum EvaluationMode
-        implements com.google.protobuf.ProtocolMessageEnum {
+    /** Protobuf enum {@code google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode} */
+    public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Do not use.
        * 
@@ -4600,6 +5875,8 @@ public enum EvaluationMode */ EVALUATION_MODE_UNSPECIFIED(0), /** + * + * *
        * This rule allows all all pod creations.
        * 
@@ -4608,6 +5885,8 @@ public enum EvaluationMode */ ALWAYS_ALLOW(1), /** + * + * *
        * This rule allows a pod creation if all the attestors listed in
        * 'require_attestations_by' have valid attestations for all of the
@@ -4618,6 +5897,8 @@ public enum EvaluationMode
        */
       REQUIRE_ATTESTATION(2),
       /**
+       *
+       *
        * 
        * This rule denies all pod creations.
        * 
@@ -4629,6 +5910,8 @@ public enum EvaluationMode ; /** + * + * *
        * Do not use.
        * 
@@ -4637,6 +5920,8 @@ public enum EvaluationMode */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * This rule allows all all pod creations.
        * 
@@ -4645,6 +5930,8 @@ public enum EvaluationMode */ public static final int ALWAYS_ALLOW_VALUE = 1; /** + * + * *
        * This rule allows a pod creation if all the attestors listed in
        * 'require_attestations_by' have valid attestations for all of the
@@ -4655,6 +5942,8 @@ public enum EvaluationMode
        */
       public static final int REQUIRE_ATTESTATION_VALUE = 2;
       /**
+       *
+       *
        * 
        * This rule denies all pod creations.
        * 
@@ -4663,7 +5952,6 @@ public enum EvaluationMode */ public static final int ALWAYS_DENY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -4688,41 +5976,48 @@ public static EvaluationMode valueOf(int value) { */ public static EvaluationMode forNumber(int value) { switch (value) { - case 0: return EVALUATION_MODE_UNSPECIFIED; - case 1: return ALWAYS_ALLOW; - case 2: return REQUIRE_ATTESTATION; - case 3: return ALWAYS_DENY; - default: return null; + case 0: + return EVALUATION_MODE_UNSPECIFIED; + case 1: + return ALWAYS_ALLOW; + case 2: + return REQUIRE_ATTESTATION; + case 3: + return ALWAYS_DENY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EvaluationMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EvaluationMode findValueByNumber(int number) { - return EvaluationMode.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 EvaluationMode findValueByNumber(int number) { + return EvaluationMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .getDescriptor() + .getEnumTypes() + .get(0); } private static final EvaluationMode[] VALUES = values(); @@ -4730,8 +6025,7 @@ public EvaluationMode findValueByNumber(int number) { public static EvaluationMode 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; @@ -4749,6 +6043,8 @@ private EvaluationMode(int value) { } /** + * + * *
      * Defines the possible actions when a pod creation is denied by an admission
      * rule.
@@ -4756,9 +6052,10 @@ private EvaluationMode(int value) {
      *
      * Protobuf enum {@code google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode}
      */
-    public enum EnforcementMode
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Do not use.
        * 
@@ -4767,6 +6064,8 @@ public enum EnforcementMode */ ENFORCEMENT_MODE_UNSPECIFIED(0), /** + * + * *
        * Enforce the admission rule by blocking the pod creation.
        * 
@@ -4775,6 +6074,8 @@ public enum EnforcementMode */ ENFORCED_BLOCK_AND_AUDIT_LOG(1), /** + * + * *
        * Dryrun mode: Audit logging only.  This will allow the pod creation as if
        * the admission request had specified break-glass.
@@ -4787,6 +6088,8 @@ public enum EnforcementMode
       ;
 
       /**
+       *
+       *
        * 
        * Do not use.
        * 
@@ -4795,6 +6098,8 @@ public enum EnforcementMode */ public static final int ENFORCEMENT_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Enforce the admission rule by blocking the pod creation.
        * 
@@ -4803,6 +6108,8 @@ public enum EnforcementMode */ public static final int ENFORCED_BLOCK_AND_AUDIT_LOG_VALUE = 1; /** + * + * *
        * Dryrun mode: Audit logging only.  This will allow the pod creation as if
        * the admission request had specified break-glass.
@@ -4812,7 +6119,6 @@ public enum EnforcementMode
        */
       public static final int DRYRUN_AUDIT_LOG_ONLY_VALUE = 2;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4837,10 +6143,14 @@ public static EnforcementMode valueOf(int value) {
        */
       public static EnforcementMode forNumber(int value) {
         switch (value) {
-          case 0: return ENFORCEMENT_MODE_UNSPECIFIED;
-          case 1: return ENFORCED_BLOCK_AND_AUDIT_LOG;
-          case 2: return DRYRUN_AUDIT_LOG_ONLY;
-          default: return null;
+          case 0:
+            return ENFORCEMENT_MODE_UNSPECIFIED;
+          case 1:
+            return ENFORCED_BLOCK_AND_AUDIT_LOG;
+          case 2:
+            return DRYRUN_AUDIT_LOG_ONLY;
+          default:
+            return null;
         }
       }
 
@@ -4848,29 +6158,32 @@ public static EnforcementMode forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          EnforcementMode> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public EnforcementMode findValueByNumber(int number) {
-                return EnforcementMode.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 EnforcementMode findValueByNumber(int number) {
+                  return EnforcementMode.forNumber(number);
+                }
+              };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDescriptor().getEnumTypes().get(1);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+            .getDescriptor()
+            .getEnumTypes()
+            .get(1);
       }
 
       private static final EnforcementMode[] VALUES = values();
@@ -4878,8 +6191,7 @@ public EnforcementMode findValueByNumber(int number) {
       public static EnforcementMode 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;
@@ -4899,34 +6211,57 @@ private EnforcementMode(int value) {
     public static final int EVALUATION_MODE_FIELD_NUMBER = 1;
     private int evaluationMode_ = 0;
     /**
+     *
+     *
      * 
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The evaluationMode. */ - @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode getEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode + getEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode.forNumber(evaluationMode_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode.UNRECOGNIZED + : result; } public static final int REQUIRE_ATTESTATIONS_BY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4938,14 +6273,17 @@ private EnforcementMode(int value) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList - getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { return requireAttestationsBy_; } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4957,13 +6295,17 @@ private EnforcementMode(int value) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4975,7 +6317,9 @@ public int getRequireAttestationsByCount() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -4983,6 +6327,8 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -4994,42 +6340,64 @@ public java.lang.String getRequireAttestationsBy(int index) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString - getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } public static final int ENFORCEMENT_MODE_FIELD_NUMBER = 3; private int enforcementMode_ = 0; /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override public int getEnforcementModeValue() { + @java.lang.Override + public int getEnforcementModeValue() { return enforcementMode_; } /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enforcementMode. */ - @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode getEnforcementMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode + getEnforcementMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode.forNumber(enforcementMode_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5041,15 +6409,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (evaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (evaluationMode_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode.EVALUATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, evaluationMode_); } for (int i = 0; i < requireAttestationsBy_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requireAttestationsBy_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, requireAttestationsBy_.getRaw(i)); } - if (enforcementMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { + if (enforcementMode_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, enforcementMode_); } getUnknownFields().writeTo(output); @@ -5061,9 +6435,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (evaluationMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, evaluationMode_); + if (evaluationMode_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode.EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, evaluationMode_); } { int dataSize = 0; @@ -5073,9 +6449,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getRequireAttestationsByList().size(); } - if (enforcementMode_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, enforcementMode_); + if (enforcementMode_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, enforcementMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5085,16 +6463,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.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other = + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) obj; if (evaluationMode_ != other.evaluationMode_) return false; - if (!getRequireAttestationsByList() - .equals(other.getRequireAttestationsByList())) return false; + if (!getRequireAttestationsByList().equals(other.getRequireAttestationsByList())) + return false; if (enforcementMode_ != other.enforcementMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5120,90 +6501,101 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5213,6 +6605,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An [admission rule][google.cloud.binaryauthorization.v1.AdmissionRule] specifies either that all container images
      * used in a pod creation request must be attested to by one or more
@@ -5225,58 +6619,62 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.AdmissionRule}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.AdmissionRule)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRuleOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.class,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+                    .Builder.class);
       }
 
-      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
         evaluationMode_ = 0;
-        requireAttestationsBy_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
         enforcementMode_ = 0;
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+          getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result = buildPartial();
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -5284,14 +6682,19 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Admission
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+          buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result =
+            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result) {
+      private void buildPartial0(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.evaluationMode_ = evaluationMode_;
@@ -5309,46 +6712,56 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) {
-          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)other);
+        if (other
+            instanceof
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule) {
+          return mergeFrom(
+              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule)
+                  other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other) {
-        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule other) {
+        if (other
+            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule
+                .getDefaultInstance()) return this;
         if (other.evaluationMode_ != 0) {
           setEvaluationModeValue(other.getEvaluationModeValue());
         }
@@ -5391,28 +6804,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                evaluationMode_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureRequireAttestationsByIsMutable();
-                requireAttestationsBy_.add(s);
-                break;
-              } // case 18
-              case 24: {
-                enforcementMode_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 8:
+                {
+                  evaluationMode_ = input.readEnum();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureRequireAttestationsByIsMutable();
+                  requireAttestationsBy_.add(s);
+                  break;
+                } // case 18
+              case 24:
+                {
+                  enforcementMode_ = input.readEnum();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 24
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5422,26 +6839,38 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private int evaluationMode_ = 0;
       /**
+       *
+       *
        * 
        * Required. How this admission rule will be evaluated.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
        * Required. How this admission rule will be evaluated.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ @@ -5452,28 +6881,49 @@ public Builder setEvaluationModeValue(int value) { return this; } /** + * + * *
        * Required. How this admission rule will be evaluated.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The evaluationMode. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode getEvaluationMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode + getEvaluationMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode.forNumber(evaluationMode_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode.UNRECOGNIZED + : result; } /** + * + * *
        * Required. How this admission rule will be evaluated.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EvaluationMode value) { + public Builder setEvaluationMode( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EvaluationMode + value) { if (value == null) { throw new NullPointerException(); } @@ -5483,11 +6933,16 @@ public Builder setEvaluationMode(com.google.protos.google.cloud.binaryauthorizat return this; } /** + * + * *
        * Required. How this admission rule will be evaluated.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEvaluationMode() { @@ -5499,13 +6954,17 @@ public Builder clearEvaluationMode() { private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRequireAttestationsByIsMutable() { if (!requireAttestationsBy_.isModifiable()) { - requireAttestationsBy_ = new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); + requireAttestationsBy_ = + new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); } bitField0_ |= 0x00000002; } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5517,15 +6976,19 @@ private void ensureRequireAttestationsByIsMutable() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList - getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { requireAttestationsBy_.makeImmutable(); return requireAttestationsBy_; } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5537,13 +7000,18 @@ private void ensureRequireAttestationsByIsMutable() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5555,7 +7023,10 @@ public int getRequireAttestationsByCount() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -5563,6 +7034,8 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5574,15 +7047,19 @@ public java.lang.String getRequireAttestationsBy(int index) {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString - getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5594,14 +7071,18 @@ public java.lang.String getRequireAttestationsBy(int index) {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The requireAttestationsBy to set. * @return This builder for chaining. */ - public Builder setRequireAttestationsBy( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequireAttestationsBy(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.set(index, value); bitField0_ |= 0x00000002; @@ -5609,6 +7090,8 @@ public Builder setRequireAttestationsBy( return this; } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5620,13 +7103,17 @@ public Builder setRequireAttestationsBy(
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRequireAttestationsBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); bitField0_ |= 0x00000002; @@ -5634,6 +7121,8 @@ public Builder addRequireAttestationsBy( return this; } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5645,20 +7134,23 @@ public Builder addRequireAttestationsBy(
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addAllRequireAttestationsBy( - java.lang.Iterable values) { + public Builder addAllRequireAttestationsBy(java.lang.Iterable values) { ensureRequireAttestationsByIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requireAttestationsBy_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requireAttestationsBy_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5670,17 +7162,22 @@ public Builder addAllRequireAttestationsBy(
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRequireAttestationsBy() { - requireAttestationsBy_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
        * Optional. The resource names of the attestors that must attest to
        * a container image, in the format `projects/*/attestors/*`. Each
@@ -5692,13 +7189,17 @@ public Builder clearRequireAttestationsBy() {
        * REQUIRE_ATTESTATION, otherwise it must be empty.
        * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRequireAttestationsByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); @@ -5709,22 +7210,33 @@ public Builder addRequireAttestationsByBytes( private int enforcementMode_ = 0; /** + * + * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override public int getEnforcementModeValue() { + @java.lang.Override + public int getEnforcementModeValue() { return enforcementMode_; } /** + * + * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for enforcementMode to set. * @return This builder for chaining. */ @@ -5735,28 +7247,50 @@ public Builder setEnforcementModeValue(int value) { return this; } /** + * + * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enforcementMode. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode getEnforcementMode() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode + getEnforcementMode() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode.forNumber(enforcementMode_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enforcementMode to set. * @return This builder for chaining. */ - public Builder setEnforcementMode(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule.EnforcementMode value) { + public Builder setEnforcementMode( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + .EnforcementMode + value) { if (value == null) { throw new NullPointerException(); } @@ -5766,11 +7300,16 @@ public Builder setEnforcementMode(com.google.protos.google.cloud.binaryauthoriza return this; } /** + * + * *
        * Required. The action when a pod creation is denied by the admission rule.
        * 
* - * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEnforcementMode() { @@ -5779,6 +7318,7 @@ public Builder clearEnforcementMode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5791,41 +7331,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.AdmissionRule) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.AdmissionRule) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AdmissionRule + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5837,120 +7382,161 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AdmissionRule + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AttestorOrBuilder extends + public interface AttestorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.Attestor) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * * @return Whether the userOwnedGrafeasNote field is set. */ boolean hasUserOwnedGrafeasNote(); /** + * + * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * * @return The userOwnedGrafeasNote. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getUserOwnedGrafeasNote(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + getUserOwnedGrafeasNote(); /** + * + * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder getUserOwnedGrafeasNoteOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder + getUserOwnedGrafeasNoteOrBuilder(); /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.AttestorTypeCase getAttestorTypeCase(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.AttestorTypeCase + getAttestorTypeCase(); } /** + * + * *
    * An [attestor][google.cloud.binaryauthorization.v1.Attestor] that attests to container image
    * artifacts. An existing attestor cannot be modified except where
@@ -5959,15 +7545,16 @@ public interface AttestorOrBuilder extends
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.Attestor}
    */
-  public static final class Attestor extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Attestor extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.Attestor)
       AttestorOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Attestor.newBuilder() to construct.
     private Attestor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Attestor() {
       name_ = "";
       description_ = "";
@@ -5975,33 +7562,39 @@ private Attestor() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Attestor();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder
+                  .class);
     }
 
     private int attestorTypeCase_ = 0;
+
     @SuppressWarnings("serial")
     private java.lang.Object attestorType_;
+
     public enum AttestorTypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       USER_OWNED_GRAFEAS_NOTE(3),
       ATTESTORTYPE_NOT_SET(0);
       private final int value;
+
       private AttestorTypeCase(int value) {
         this.value = value;
       }
@@ -6017,32 +7610,38 @@ public static AttestorTypeCase valueOf(int value) {
 
       public static AttestorTypeCase forNumber(int value) {
         switch (value) {
-          case 3: return USER_OWNED_GRAFEAS_NOTE;
-          case 0: return ATTESTORTYPE_NOT_SET;
-          default: return null;
+          case 3:
+            return USER_OWNED_GRAFEAS_NOTE;
+          case 0:
+            return ATTESTORTYPE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public AttestorTypeCase
-    getAttestorTypeCase() {
-      return AttestorTypeCase.forNumber(
-          attestorTypeCase_);
+    public AttestorTypeCase getAttestorTypeCase() {
+      return AttestorTypeCase.forNumber(attestorTypeCase_);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -6051,30 +7650,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 resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6083,15 +7682,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -6100,30 +7703,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -6133,12 +7736,16 @@ public java.lang.String getDescription() { public static final int USER_OWNED_GRAFEAS_NOTE_FIELD_NUMBER = 3; /** + * + * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * * @return Whether the userOwnedGrafeasNote field is set. */ @java.lang.Override @@ -6146,45 +7753,66 @@ public boolean hasUserOwnedGrafeasNote() { return attestorTypeCase_ == 3; } /** + * + * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * * @return The userOwnedGrafeasNote. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getUserOwnedGrafeasNote() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + getUserOwnedGrafeasNote() { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote) + attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .getDefaultInstance(); } /** + * + * *
      * This specifies how an attestation will be read, and how it will be used
      * during policy enforcement.
      * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder getUserOwnedGrafeasNoteOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNoteOrBuilder + getUserOwnedGrafeasNoteOrBuilder() { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote) + attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .getDefaultInstance(); } public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -6192,11 +7820,16 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -6204,11 +7837,15 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -6216,6 +7853,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6227,13 +7865,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (attestorTypeCase_ == 3) { - output.writeMessage(3, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_); + output.writeMessage( + 3, + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) + attestorType_); } if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); @@ -6254,12 +7894,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (attestorTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote) + attestorType_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -6272,27 +7915,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.protos.google.cloud.binaryauthorization.v1.Resources.Attestor)) { + if (!(obj + instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other = + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getAttestorTypeCase().equals(other.getAttestorTypeCase())) return false; switch (attestorTypeCase_) { case 3: - if (!getUserOwnedGrafeasNote() - .equals(other.getUserOwnedGrafeasNote())) return false; + if (!getUserOwnedGrafeasNote().equals(other.getUserOwnedGrafeasNote())) return false; break; case 0: default: @@ -6329,90 +7970,101 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6422,6 +8074,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An [attestor][google.cloud.binaryauthorization.v1.Attestor] that attests to container image
      * artifacts. An existing attestor cannot be modified except where
@@ -6430,33 +8084,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.Attestor}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.Attestor)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder
+                    .class);
       }
 
-      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6477,19 +8133,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
+          getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result = buildPartial();
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -6497,15 +8156,20 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
+          buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result =
+            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
+      private void buildPartial0(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.name_ = name_;
@@ -6514,17 +8178,16 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1
           result.description_ = description_;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.updateTime_ = updateTimeBuilder_ == null
-              ? updateTime_
-              : updateTimeBuilder_.build();
+          result.updateTime_ =
+              updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
         }
       }
 
-      private void buildPartialOneofs(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
+      private void buildPartialOneofs(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor result) {
         result.attestorTypeCase_ = attestorTypeCase_;
         result.attestorType_ = this.attestorType_;
-        if (attestorTypeCase_ == 3 &&
-            userOwnedGrafeasNoteBuilder_ != null) {
+        if (attestorTypeCase_ == 3 && userOwnedGrafeasNoteBuilder_ != null) {
           result.attestorType_ = userOwnedGrafeasNoteBuilder_.build();
         }
       }
@@ -6533,46 +8196,54 @@ private void buildPartialOneofs(com.google.protos.google.cloud.binaryauthorizati
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) {
-          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor)other);
+        if (other
+            instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) {
+          return mergeFrom(
+              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other) {
-        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor other) {
+        if (other
+            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor
+                .getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           bitField0_ |= 0x00000001;
@@ -6587,13 +8258,15 @@ public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.R
           mergeUpdateTime(other.getUpdateTime());
         }
         switch (other.getAttestorTypeCase()) {
-          case USER_OWNED_GRAFEAS_NOTE: {
-            mergeUserOwnedGrafeasNote(other.getUserOwnedGrafeasNote());
-            break;
-          }
-          case ATTESTORTYPE_NOT_SET: {
-            break;
-          }
+          case USER_OWNED_GRAFEAS_NOTE:
+            {
+              mergeUserOwnedGrafeasNote(other.getUserOwnedGrafeasNote());
+              break;
+            }
+          case ATTESTORTYPE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -6621,36 +8294,38 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 26: {
-                input.readMessage(
-                    getUserOwnedGrafeasNoteFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                attestorTypeCase_ = 3;
-                break;
-              } // case 26
-              case 34: {
-                input.readMessage(
-                    getUpdateTimeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-              case 50: {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  name_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 26:
+                {
+                  input.readMessage(
+                      getUserOwnedGrafeasNoteFieldBuilder().getBuilder(), extensionRegistry);
+                  attestorTypeCase_ = 3;
+                  break;
+                } // case 26
+              case 34:
+                {
+                  input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000008;
+                  break;
+                } // case 34
+              case 50:
+                {
+                  description_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6660,12 +8335,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int attestorTypeCase_ = 0;
       private java.lang.Object attestorType_;
-      public AttestorTypeCase
-          getAttestorTypeCase() {
-        return AttestorTypeCase.forNumber(
-            attestorTypeCase_);
+
+      public AttestorTypeCase getAttestorTypeCase() {
+        return AttestorTypeCase.forNumber(attestorTypeCase_);
       }
 
       public Builder clearAttestorType() {
@@ -6679,19 +8354,21 @@ public Builder clearAttestorType() {
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6700,21 +8377,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6722,30 +8400,37 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -6755,18 +8440,22 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The resource name, in the format:
        * `projects/*/attestors/*`. This field may not be updated.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -6776,19 +8465,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -6797,21 +8488,22 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -6819,30 +8511,37 @@ public java.lang.String getDescription() { } } /** + * + * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -6852,18 +8551,22 @@ public Builder clearDescription() { return this; } /** + * + * *
        * Optional. A descriptive comment.  This field may be updated.
        * The field may be displayed in chooser dialogs.
        * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -6872,14 +8575,24 @@ public Builder setDescriptionBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder> userOwnedGrafeasNoteBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNoteOrBuilder> + userOwnedGrafeasNoteBuilder_; /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * * @return Whether the userOwnedGrafeasNote field is set. */ @java.lang.Override @@ -6887,37 +8600,53 @@ public boolean hasUserOwnedGrafeasNote() { return attestorTypeCase_ == 3; } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * * @return The userOwnedGrafeasNote. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getUserOwnedGrafeasNote() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + getUserOwnedGrafeasNote() { if (userOwnedGrafeasNoteBuilder_ == null) { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote) + attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote.getDefaultInstance(); } else { if (attestorTypeCase_ == 3) { return userOwnedGrafeasNoteBuilder_.getMessage(); } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote.getDefaultInstance(); } } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ - public Builder setUserOwnedGrafeasNote(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote value) { + public Builder setUserOwnedGrafeasNote( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + value) { if (userOwnedGrafeasNoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6931,15 +8660,21 @@ public Builder setUserOwnedGrafeasNote(com.google.protos.google.cloud.binaryauth return this; } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ public Builder setUserOwnedGrafeasNote( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .Builder + builderForValue) { if (userOwnedGrafeasNoteBuilder_ == null) { attestorType_ = builderForValue.build(); onChanged(); @@ -6950,19 +8685,33 @@ public Builder setUserOwnedGrafeasNote( return this; } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ - public Builder mergeUserOwnedGrafeasNote(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote value) { + public Builder mergeUserOwnedGrafeasNote( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + value) { if (userOwnedGrafeasNoteBuilder_ == null) { - if (attestorTypeCase_ == 3 && - attestorType_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance()) { - attestorType_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.newBuilder((com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_) - .mergeFrom(value).buildPartial(); + if (attestorTypeCase_ == 3 + && attestorType_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote.getDefaultInstance()) { + attestorType_ = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .newBuilder( + (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote) + attestorType_) + .mergeFrom(value) + .buildPartial(); } else { attestorType_ = value; } @@ -6978,12 +8727,16 @@ public Builder mergeUserOwnedGrafeasNote(com.google.protos.google.cloud.binaryau return this; } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ public Builder clearUserOwnedGrafeasNote() { if (userOwnedGrafeasNoteBuilder_ == null) { @@ -7002,53 +8755,86 @@ public Builder clearUserOwnedGrafeasNote() { return this; } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder getUserOwnedGrafeasNoteBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .Builder + getUserOwnedGrafeasNoteBuilder() { return getUserOwnedGrafeasNoteFieldBuilder().getBuilder(); } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder getUserOwnedGrafeasNoteOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNoteOrBuilder + getUserOwnedGrafeasNoteOrBuilder() { if ((attestorTypeCase_ == 3) && (userOwnedGrafeasNoteBuilder_ != null)) { return userOwnedGrafeasNoteBuilder_.getMessageOrBuilder(); } else { if (attestorTypeCase_ == 3) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote) + attestorType_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote.getDefaultInstance(); } } /** + * + * *
        * This specifies how an attestation will be read, and how it will be used
        * during policy enforcement.
        * 
* - * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * + * .google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote user_owned_grafeas_note = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNoteOrBuilder> getUserOwnedGrafeasNoteFieldBuilder() { if (userOwnedGrafeasNoteBuilder_ == null) { if (!(attestorTypeCase_ == 3)) { - attestorType_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance(); + attestorType_ = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + .getDefaultInstance(); } - userOwnedGrafeasNoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder>( - (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) attestorType_, + userOwnedGrafeasNoteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNoteOrBuilder>( + (com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote) + attestorType_, getParentForChildren(), isClean()); attestorType_ = null; @@ -7060,39 +8846,58 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwned private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -7108,14 +8913,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -7126,17 +8934,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -7149,11 +8961,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -7166,11 +8982,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -7178,40 +8998,53 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
        * Output only. Time when the attestor was last updated.
        * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7224,41 +9057,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.Attestor) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.Attestor) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Attestor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Attestor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7270,17 +9107,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UserOwnedGrafeasNoteOrBuilder extends + public interface UserOwnedGrafeasNoteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -7292,10 +9132,13 @@ public interface UserOwnedGrafeasNoteOrBuilder extends
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The noteReference. */ java.lang.String getNoteReference(); /** + * + * *
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -7307,12 +9150,14 @@ public interface UserOwnedGrafeasNoteOrBuilder extends
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for noteReference. */ - com.google.protobuf.ByteString - getNoteReferenceBytes(); + com.google.protobuf.ByteString getNoteReferenceBytes(); /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7325,11 +9170,16 @@ public interface UserOwnedGrafeasNoteOrBuilder extends
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> getPublicKeysList(); /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7342,10 +9192,15 @@ public interface UserOwnedGrafeasNoteOrBuilder extends
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys(int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys( + int index); /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7358,10 +9213,14 @@ public interface UserOwnedGrafeasNoteOrBuilder extends
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPublicKeysCount(); /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7374,11 +9233,18 @@ public interface UserOwnedGrafeasNoteOrBuilder extends
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKeyOrBuilder> getPublicKeysOrBuilderList(); /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7391,12 +9257,16 @@ public interface UserOwnedGrafeasNoteOrBuilder extends
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( - int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder + getPublicKeysOrBuilder(int index); /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -7409,11 +9279,16 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The delegationServiceAccountEmail. */ java.lang.String getDelegationServiceAccountEmail(); /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -7426,13 +9301,17 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for delegationServiceAccountEmail. */ - com.google.protobuf.ByteString - getDelegationServiceAccountEmailBytes(); + com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes(); } /** + * + * *
    * An [user owned Grafeas note][google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote] references a Grafeas
    * Attestation.Authority Note created by the user.
@@ -7440,15 +9319,16 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKe
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote}
    */
-  public static final class UserOwnedGrafeasNote extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class UserOwnedGrafeasNote extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote)
       UserOwnedGrafeasNoteOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use UserOwnedGrafeasNote.newBuilder() to construct.
     private UserOwnedGrafeasNote(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private UserOwnedGrafeasNote() {
       noteReference_ = "";
       publicKeys_ = java.util.Collections.emptyList();
@@ -7457,28 +9337,34 @@ private UserOwnedGrafeasNote() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new UserOwnedGrafeasNote();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+                  .class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+                  .Builder.class);
     }
 
     public static final int NOTE_REFERENCE_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object noteReference_ = "";
     /**
+     *
+     *
      * 
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -7490,6 +9376,7 @@ protected java.lang.Object newInstance(
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The noteReference. */ @java.lang.Override @@ -7498,14 +9385,15 @@ public java.lang.String getNoteReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; } } /** + * + * *
      * Required. The Grafeas resource name of a Attestation.Authority Note,
      * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -7517,16 +9405,15 @@ public java.lang.String getNoteReference() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for noteReference. */ @java.lang.Override - public com.google.protobuf.ByteString - getNoteReferenceBytes() { + public com.google.protobuf.ByteString getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); noteReference_ = b; return b; } else { @@ -7535,9 +9422,14 @@ public java.lang.String getNoteReference() { } public static final int PUBLIC_KEYS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List publicKeys_; + private java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> + publicKeys_; /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7550,13 +9442,19 @@ public java.lang.String getNoteReference() {
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getPublicKeysList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> + getPublicKeysList() { return publicKeys_; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7569,14 +9467,21 @@ public java.util.List
      *
-     * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                    .AttestorPublicKeyOrBuilder>
         getPublicKeysOrBuilderList() {
       return publicKeys_;
     }
     /**
+     *
+     *
      * 
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7589,13 +9494,17 @@ public java.util.List
      *
-     * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
     public int getPublicKeysCount() {
       return publicKeys_.size();
     }
     /**
+     *
+     *
      * 
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7608,13 +9517,18 @@ public int getPublicKeysCount() {
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + getPublicKeys(int index) { return publicKeys_.get(index); } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -7627,18 +9541,24 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKeyOrBuilder + getPublicKeysOrBuilder(int index) { return publicKeys_.get(index); } public static final int DELEGATION_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object delegationServiceAccountEmail_ = ""; /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -7651,7 +9571,10 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The delegationServiceAccountEmail. */ @java.lang.Override @@ -7660,14 +9583,15 @@ public java.lang.String getDelegationServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; } } /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -7680,17 +9604,18 @@ public java.lang.String getDelegationServiceAccountEmail() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for delegationServiceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -7699,6 +9624,7 @@ public java.lang.String getDelegationServiceAccountEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7710,8 +9636,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(noteReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, noteReference_); } @@ -7719,7 +9644,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(2, publicKeys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delegationServiceAccountEmail_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, delegationServiceAccountEmail_); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, delegationServiceAccountEmail_); } getUnknownFields().writeTo(output); } @@ -7734,11 +9660,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, noteReference_); } for (int i = 0; i < publicKeys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, publicKeys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, publicKeys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delegationServiceAccountEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, delegationServiceAccountEmail_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 3, delegationServiceAccountEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7748,19 +9675,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.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote other = + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) + obj; - if (!getNoteReference() - .equals(other.getNoteReference())) return false; - if (!getPublicKeysList() - .equals(other.getPublicKeysList())) return false; - if (!getDelegationServiceAccountEmail() - .equals(other.getDelegationServiceAccountEmail())) return false; + if (!getNoteReference().equals(other.getNoteReference())) return false; + if (!getPublicKeysList().equals(other.getPublicKeysList())) return false; + if (!getDelegationServiceAccountEmail().equals(other.getDelegationServiceAccountEmail())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7785,90 +9714,114 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7878,6 +9831,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An [user owned Grafeas note][google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote] references a Grafeas
      * Attestation.Authority Note created by the user.
@@ -7885,33 +9840,37 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote)
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNoteOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .UserOwnedGrafeasNoteOrBuilder {
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+                    .class,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+                    .Builder.class);
       }
 
-      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -7929,19 +9888,23 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+          getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+            .getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result = buildPartial();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+          build() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+            result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -7949,15 +9912,23 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwned
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote(this);
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+          buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+            result =
+                new com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                    .UserOwnedGrafeasNote(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result) {
+      private void buildPartialRepeatedFields(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+              result) {
         if (publicKeysBuilder_ == null) {
           if (((bitField0_ & 0x00000002) != 0)) {
             publicKeys_ = java.util.Collections.unmodifiableList(publicKeys_);
@@ -7969,7 +9940,9 @@ private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryaut
         }
       }
 
-      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote result) {
+      private void buildPartial0(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+              result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.noteReference_ = noteReference_;
@@ -7983,46 +9956,57 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) {
-          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)other);
+        if (other
+            instanceof
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote) {
+          return mergeFrom(
+              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote)
+                  other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote other) {
-        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+              other) {
+        if (other
+            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote
+                .getDefaultInstance()) return this;
         if (!other.getNoteReference().isEmpty()) {
           noteReference_ = other.noteReference_;
           bitField0_ |= 0x00000001;
@@ -8046,9 +10030,10 @@ public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.R
               publicKeysBuilder_ = null;
               publicKeys_ = other.publicKeys_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              publicKeysBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getPublicKeysFieldBuilder() : null;
+              publicKeysBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getPublicKeysFieldBuilder()
+                      : null;
             } else {
               publicKeysBuilder_.addAllMessages(other.publicKeys_);
             }
@@ -8085,35 +10070,41 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                noteReference_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey m =
-                    input.readMessage(
-                        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.parser(),
-                        extensionRegistry);
-                if (publicKeysBuilder_ == null) {
-                  ensurePublicKeysIsMutable();
-                  publicKeys_.add(m);
-                } else {
-                  publicKeysBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-              case 26: {
-                delegationServiceAccountEmail_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  noteReference_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+                      m =
+                          input.readMessage(
+                              com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                                  .AttestorPublicKey.parser(),
+                              extensionRegistry);
+                  if (publicKeysBuilder_ == null) {
+                    ensurePublicKeysIsMutable();
+                    publicKeys_.add(m);
+                  } else {
+                    publicKeysBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 18
+              case 26:
+                {
+                  delegationServiceAccountEmail_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 26
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8123,10 +10114,13 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object noteReference_ = "";
       /**
+       *
+       *
        * 
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -8138,13 +10132,13 @@ public Builder mergeFrom(
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The noteReference. */ public java.lang.String getNoteReference() { java.lang.Object ref = noteReference_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; @@ -8153,6 +10147,8 @@ public java.lang.String getNoteReference() { } } /** + * + * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -8164,15 +10160,14 @@ public java.lang.String getNoteReference() {
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for noteReference. */ - public com.google.protobuf.ByteString - getNoteReferenceBytes() { + public com.google.protobuf.ByteString getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); noteReference_ = b; return b; } else { @@ -8180,6 +10175,8 @@ public java.lang.String getNoteReference() { } } /** + * + * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -8191,18 +10188,22 @@ public java.lang.String getNoteReference() {
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReference( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNoteReference(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } noteReference_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -8214,6 +10215,7 @@ public Builder setNoteReference(
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNoteReference() { @@ -8223,6 +10225,8 @@ public Builder clearNoteReference() { return this; } /** + * + * *
        * Required. The Grafeas resource name of a Attestation.Authority Note,
        * created by the user, in the format: `projects/*/notes/*`. This field may
@@ -8234,12 +10238,14 @@ public Builder clearNoteReference() {
        * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReferenceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNoteReferenceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); noteReference_ = value; bitField0_ |= 0x00000001; @@ -8247,19 +10253,31 @@ public Builder setNoteReferenceBytes( return this; } - private java.util.List publicKeys_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> + publicKeys_ = java.util.Collections.emptyList(); + private void ensurePublicKeysIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - publicKeys_ = new java.util.ArrayList(publicKeys_); + publicKeys_ = + new java.util.ArrayList< + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKey>(publicKeys_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder> publicKeysBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKeyOrBuilder> + publicKeysBuilder_; /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8272,9 +10290,13 @@ private void ensurePublicKeysIsMutable() {
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getPublicKeysList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey> + getPublicKeysList() { if (publicKeysBuilder_ == null) { return java.util.Collections.unmodifiableList(publicKeys_); } else { @@ -8282,6 +10304,8 @@ public java.util.List * Optional. Public keys that verify attestations signed by this * attestor. This field may be updated. @@ -8294,7 +10318,9 @@ public java.util.List * - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getPublicKeysCount() { if (publicKeysBuilder_ == null) { @@ -8304,6 +10330,8 @@ public int getPublicKeysCount() { } } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8316,9 +10344,12 @@ public int getPublicKeysCount() {
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getPublicKeys(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + getPublicKeys(int index) { if (publicKeysBuilder_ == null) { return publicKeys_.get(index); } else { @@ -8326,6 +10357,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP } } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8338,10 +10371,13 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPublicKeys( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8355,6 +10391,8 @@ public Builder setPublicKeys( return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8367,10 +10405,14 @@ public Builder setPublicKeys(
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPublicKeys( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder builderForValue) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder + builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.set(index, builderForValue.build()); @@ -8381,6 +10423,8 @@ public Builder setPublicKeys( return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8393,9 +10437,12 @@ public Builder setPublicKeys(
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addPublicKeys(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { + public Builder addPublicKeys( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8409,6 +10456,8 @@ public Builder addPublicKeys(com.google.protos.google.cloud.binaryauthorization. return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8421,10 +10470,13 @@ public Builder addPublicKeys(com.google.protos.google.cloud.binaryauthorization.
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPublicKeys( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8438,6 +10490,8 @@ public Builder addPublicKeys( return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8450,10 +10504,13 @@ public Builder addPublicKeys(
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPublicKeys( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder + builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.add(builderForValue.build()); @@ -8464,6 +10521,8 @@ public Builder addPublicKeys( return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8476,10 +10535,14 @@ public Builder addPublicKeys(
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPublicKeys( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder builderForValue) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder + builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.add(index, builderForValue.build()); @@ -8490,6 +10553,8 @@ public Builder addPublicKeys( return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8502,14 +10567,19 @@ public Builder addPublicKeys(
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllPublicKeys( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKey> + values) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, publicKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, publicKeys_); onChanged(); } else { publicKeysBuilder_.addAllMessages(values); @@ -8517,6 +10587,8 @@ public Builder addAllPublicKeys( return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8529,7 +10601,9 @@ public Builder addAllPublicKeys(
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPublicKeys() { if (publicKeysBuilder_ == null) { @@ -8542,6 +10616,8 @@ public Builder clearPublicKeys() { return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8554,7 +10630,9 @@ public Builder clearPublicKeys() {
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removePublicKeys(int index) { if (publicKeysBuilder_ == null) { @@ -8567,6 +10645,8 @@ public Builder removePublicKeys(int index) { return this; } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8579,13 +10659,18 @@ public Builder removePublicKeys(int index) {
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder getPublicKeysBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .Builder + getPublicKeysBuilder(int index) { return getPublicKeysFieldBuilder().getBuilder(index); } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8598,16 +10683,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKeyOrBuilder + getPublicKeysOrBuilder(int index) { if (publicKeysBuilder_ == null) { - return publicKeys_.get(index); } else { + return publicKeys_.get(index); + } else { return publicKeysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8620,10 +10711,15 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPublicKeysOrBuilderList() { + public java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKeyOrBuilder> + getPublicKeysOrBuilderList() { if (publicKeysBuilder_ != null) { return publicKeysBuilder_.getMessageOrBuilderList(); } else { @@ -8631,6 +10727,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP } } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8643,13 +10741,21 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder addPublicKeysBuilder() { - return getPublicKeysFieldBuilder().addBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .Builder + addPublicKeysBuilder() { + return getPublicKeysFieldBuilder() + .addBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .getDefaultInstance()); } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8662,14 +10768,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder addPublicKeysBuilder( - int index) { - return getPublicKeysFieldBuilder().addBuilder( - index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .Builder + addPublicKeysBuilder(int index) { + return getPublicKeysFieldBuilder() + .addBuilder( + index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .getDefaultInstance()); } /** + * + * *
        * Optional. Public keys that verify attestations signed by this
        * attestor.  This field may be updated.
@@ -8682,22 +10796,33 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
        * valid attestations exist.
        * 
* - * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPublicKeysBuilderList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .Builder> + getPublicKeysBuilderList() { return getPublicKeysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKeyOrBuilder> getPublicKeysFieldBuilder() { if (publicKeysBuilder_ == null) { - publicKeysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder>( - publicKeys_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + publicKeysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey + .Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorPublicKeyOrBuilder>( + publicKeys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); publicKeys_ = null; } return publicKeysBuilder_; @@ -8705,6 +10830,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP private java.lang.Object delegationServiceAccountEmail_ = ""; /** + * + * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -8717,14 +10844,16 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
        * future versions may use an email based on a different naming pattern.
        * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The delegationServiceAccountEmail. */ public java.lang.String getDelegationServiceAccountEmail() { java.lang.Object ref = delegationServiceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; @@ -8733,6 +10862,8 @@ public java.lang.String getDelegationServiceAccountEmail() { } } /** + * + * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -8745,16 +10876,17 @@ public java.lang.String getDelegationServiceAccountEmail() {
        * future versions may use an email based on a different naming pattern.
        * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for delegationServiceAccountEmail. */ - public com.google.protobuf.ByteString - getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -8762,6 +10894,8 @@ public java.lang.String getDelegationServiceAccountEmail() { } } /** + * + * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -8774,19 +10908,25 @@ public java.lang.String getDelegationServiceAccountEmail() {
        * future versions may use an email based on a different naming pattern.
        * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelegationServiceAccountEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -8799,7 +10939,10 @@ public Builder setDelegationServiceAccountEmail(
        * future versions may use an email based on a different naming pattern.
        * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDelegationServiceAccountEmail() { @@ -8809,6 +10952,8 @@ public Builder clearDelegationServiceAccountEmail() { return this; } /** + * + * *
        * Output only. This field will contain the service account email address
        * that this Attestor will use as the principal when querying Container
@@ -8821,19 +10966,24 @@ public Builder clearDelegationServiceAccountEmail() {
        * future versions may use an email based on a different naming pattern.
        * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelegationServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8846,41 +10996,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources + .UserOwnedGrafeasNote + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserOwnedGrafeasNote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserOwnedGrafeasNote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8892,39 +11049,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.UserOwnedGrafeasNote + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PkixPublicKeyOrBuilder extends + public interface PkixPublicKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.PkixPublicKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @return The publicKeyPem. */ java.lang.String getPublicKeyPem(); /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @return The bytes for publicKeyPem. */ - com.google.protobuf.ByteString - getPublicKeyPemBytes(); + com.google.protobuf.ByteString getPublicKeyPemBytes(); /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -8933,11 +11098,16 @@ public interface PkixPublicKeyOrBuilder extends
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The enum numeric value on the wire for signatureAlgorithm. */ int getSignatureAlgorithmValue(); /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -8946,12 +11116,18 @@ public interface PkixPublicKeyOrBuilder extends
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The signatureAlgorithm. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm + getSignatureAlgorithm(); } /** + * + * *
    * A public key in the PkixPublicKey format (see
    * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -8961,15 +11137,16 @@ public interface PkixPublicKeyOrBuilder extends
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.PkixPublicKey}
    */
-  public static final class PkixPublicKey extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PkixPublicKey extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.PkixPublicKey)
       PkixPublicKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PkixPublicKey.newBuilder() to construct.
     private PkixPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PkixPublicKey() {
       publicKeyPem_ = "";
       signatureAlgorithm_ = 0;
@@ -8977,25 +11154,29 @@ private PkixPublicKey() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PkixPublicKey();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * Represents a signature algorithm and other information necessary to verify
      * signatures with a given public key.
@@ -9007,9 +11188,10 @@ protected java.lang.Object newInstance(
      *
      * Protobuf enum {@code google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm}
      */
-    public enum SignatureAlgorithm
-        implements com.google.protobuf.ProtocolMessageEnum {
+    public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnum {
       /**
+       *
+       *
        * 
        * Not specified.
        * 
@@ -9018,6 +11200,8 @@ public enum SignatureAlgorithm */ SIGNATURE_ALGORITHM_UNSPECIFIED(0, 0), /** + * + * *
        * RSASSA-PSS 2048 bit key with a SHA256 digest.
        * 
@@ -9026,6 +11210,8 @@ public enum SignatureAlgorithm */ RSA_PSS_2048_SHA256(1, 1), /** + * + * *
        * RSASSA-PSS 3072 bit key with a SHA256 digest.
        * 
@@ -9034,6 +11220,8 @@ public enum SignatureAlgorithm */ RSA_PSS_3072_SHA256(2, 2), /** + * + * *
        * RSASSA-PSS 4096 bit key with a SHA256 digest.
        * 
@@ -9042,6 +11230,8 @@ public enum SignatureAlgorithm */ RSA_PSS_4096_SHA256(3, 3), /** + * + * *
        * RSASSA-PSS 4096 bit key with a SHA512 digest.
        * 
@@ -9050,6 +11240,8 @@ public enum SignatureAlgorithm */ RSA_PSS_4096_SHA512(4, 4), /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
        * 
@@ -9058,6 +11250,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_2048_SHA256(5, 5), /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
        * 
@@ -9066,6 +11260,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_3072_SHA256(6, 6), /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
        * 
@@ -9074,6 +11270,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_4096_SHA256(7, 7), /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
        * 
@@ -9082,6 +11280,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_4096_SHA512(8, 8), /** + * + * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -9090,6 +11290,8 @@ public enum SignatureAlgorithm */ ECDSA_P256_SHA256(9, 9), /** + * + * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -9098,6 +11300,8 @@ public enum SignatureAlgorithm */ ECDSA_P384_SHA384(11, 10), /** + * + * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -9109,6 +11313,8 @@ public enum SignatureAlgorithm ; /** + * + * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -9117,6 +11323,8 @@ public enum SignatureAlgorithm */ public static final SignatureAlgorithm EC_SIGN_P256_SHA256 = ECDSA_P256_SHA256; /** + * + * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -9125,6 +11333,8 @@ public enum SignatureAlgorithm */ public static final SignatureAlgorithm EC_SIGN_P384_SHA384 = ECDSA_P384_SHA384; /** + * + * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -9133,6 +11343,8 @@ public enum SignatureAlgorithm */ public static final SignatureAlgorithm EC_SIGN_P521_SHA512 = ECDSA_P521_SHA512; /** + * + * *
        * Not specified.
        * 
@@ -9141,6 +11353,8 @@ public enum SignatureAlgorithm */ public static final int SIGNATURE_ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
        * RSASSA-PSS 2048 bit key with a SHA256 digest.
        * 
@@ -9149,6 +11363,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_2048_SHA256_VALUE = 1; /** + * + * *
        * RSASSA-PSS 3072 bit key with a SHA256 digest.
        * 
@@ -9157,6 +11373,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_3072_SHA256_VALUE = 2; /** + * + * *
        * RSASSA-PSS 4096 bit key with a SHA256 digest.
        * 
@@ -9165,6 +11383,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_4096_SHA256_VALUE = 3; /** + * + * *
        * RSASSA-PSS 4096 bit key with a SHA512 digest.
        * 
@@ -9173,6 +11393,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_4096_SHA512_VALUE = 4; /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
        * 
@@ -9181,6 +11403,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_2048_SHA256_VALUE = 5; /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
        * 
@@ -9189,6 +11413,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_3072_SHA256_VALUE = 6; /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
        * 
@@ -9197,6 +11423,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_4096_SHA256_VALUE = 7; /** + * + * *
        * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
        * 
@@ -9205,6 +11433,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_4096_SHA512_VALUE = 8; /** + * + * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -9213,6 +11443,8 @@ public enum SignatureAlgorithm */ public static final int ECDSA_P256_SHA256_VALUE = 9; /** + * + * *
        * ECDSA on the NIST P-256 curve with a SHA256 digest.
        * 
@@ -9221,6 +11453,8 @@ public enum SignatureAlgorithm */ public static final int EC_SIGN_P256_SHA256_VALUE = 9; /** + * + * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -9229,6 +11463,8 @@ public enum SignatureAlgorithm */ public static final int ECDSA_P384_SHA384_VALUE = 10; /** + * + * *
        * ECDSA on the NIST P-384 curve with a SHA384 digest.
        * 
@@ -9237,6 +11473,8 @@ public enum SignatureAlgorithm */ public static final int EC_SIGN_P384_SHA384_VALUE = 10; /** + * + * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -9245,6 +11483,8 @@ public enum SignatureAlgorithm */ public static final int ECDSA_P521_SHA512_VALUE = 11; /** + * + * *
        * ECDSA on the NIST P-521 curve with a SHA512 digest.
        * 
@@ -9253,7 +11493,6 @@ public enum SignatureAlgorithm */ public static final int EC_SIGN_P521_SHA512_VALUE = 11; - public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( @@ -9278,19 +11517,32 @@ public static SignatureAlgorithm valueOf(int value) { */ public static SignatureAlgorithm forNumber(int value) { switch (value) { - case 0: return SIGNATURE_ALGORITHM_UNSPECIFIED; - case 1: return RSA_PSS_2048_SHA256; - case 2: return RSA_PSS_3072_SHA256; - case 3: return RSA_PSS_4096_SHA256; - case 4: return RSA_PSS_4096_SHA512; - case 5: return RSA_SIGN_PKCS1_2048_SHA256; - case 6: return RSA_SIGN_PKCS1_3072_SHA256; - case 7: return RSA_SIGN_PKCS1_4096_SHA256; - case 8: return RSA_SIGN_PKCS1_4096_SHA512; - case 9: return ECDSA_P256_SHA256; - case 10: return ECDSA_P384_SHA384; - case 11: return ECDSA_P521_SHA512; - default: return null; + case 0: + return SIGNATURE_ALGORITHM_UNSPECIFIED; + case 1: + return RSA_PSS_2048_SHA256; + case 2: + return RSA_PSS_3072_SHA256; + case 3: + return RSA_PSS_4096_SHA256; + case 4: + return RSA_PSS_4096_SHA512; + case 5: + return RSA_SIGN_PKCS1_2048_SHA256; + case 6: + return RSA_SIGN_PKCS1_3072_SHA256; + case 7: + return RSA_SIGN_PKCS1_4096_SHA256; + case 8: + return RSA_SIGN_PKCS1_4096_SHA512; + case 9: + return ECDSA_P256_SHA256; + case 10: + return ECDSA_P384_SHA384; + case 11: + return ECDSA_P521_SHA512; + default: + return null; } } @@ -9298,42 +11550,60 @@ public static SignatureAlgorithm forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - SignatureAlgorithm> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SignatureAlgorithm findValueByNumber(int number) { - return SignatureAlgorithm.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 SignatureAlgorithm findValueByNumber(int number) { + return SignatureAlgorithm.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (index == -1) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(index); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .getDescriptor() + .getEnumTypes() + .get(0); } private static final SignatureAlgorithm[] VALUES = getStaticValuesArray(); + private static SignatureAlgorithm[] getStaticValuesArray() { return new SignatureAlgorithm[] { - SIGNATURE_ALGORITHM_UNSPECIFIED, RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512, ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384, EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512, + SIGNATURE_ALGORITHM_UNSPECIFIED, + RSA_PSS_2048_SHA256, + RSA_PSS_3072_SHA256, + RSA_PSS_4096_SHA256, + RSA_PSS_4096_SHA512, + RSA_SIGN_PKCS1_2048_SHA256, + RSA_SIGN_PKCS1_3072_SHA256, + RSA_SIGN_PKCS1_4096_SHA256, + RSA_SIGN_PKCS1_4096_SHA512, + ECDSA_P256_SHA256, + EC_SIGN_P256_SHA256, + ECDSA_P384_SHA384, + EC_SIGN_P384_SHA384, + ECDSA_P521_SHA512, + EC_SIGN_P521_SHA512, }; } + public static SignatureAlgorithm 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; @@ -9353,15 +11623,19 @@ private SignatureAlgorithm(int index, int value) { } public static final int PUBLIC_KEY_PEM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object publicKeyPem_ = ""; /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @return The publicKeyPem. */ @java.lang.Override @@ -9370,30 +11644,30 @@ public java.lang.String getPublicKeyPem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; } } /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @return The bytes for publicKeyPem. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicKeyPemBytes() { + public com.google.protobuf.ByteString getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -9404,6 +11678,8 @@ public java.lang.String getPublicKeyPem() { public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER = 2; private int signatureAlgorithm_ = 0; /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -9412,13 +11688,19 @@ public java.lang.String getPublicKeyPem() {
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override public int getSignatureAlgorithmValue() { + @java.lang.Override + public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -9427,15 +11709,29 @@ public java.lang.String getPublicKeyPem() {
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The signatureAlgorithm. */ - @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; + @java.lang.Override + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm + getSignatureAlgorithm() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm.forNumber(signatureAlgorithm_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -9447,12 +11743,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(publicKeyPem_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, publicKeyPem_); } - if (signatureAlgorithm_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { + if (signatureAlgorithm_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(2, signatureAlgorithm_); } getUnknownFields().writeTo(output); @@ -9467,9 +11765,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKeyPem_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, publicKeyPem_); } - if (signatureAlgorithm_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, signatureAlgorithm_); + if (signatureAlgorithm_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, signatureAlgorithm_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -9479,15 +11779,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.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other = + (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) obj; - if (!getPublicKeyPem() - .equals(other.getPublicKeyPem())) return false; + if (!getPublicKeyPem().equals(other.getPublicKeyPem())) return false; if (signatureAlgorithm_ != other.signatureAlgorithm_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -9509,90 +11811,101 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -9602,6 +11915,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A public key in the PkixPublicKey format (see
      * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -9611,33 +11926,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.PkixPublicKey}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.PkixPublicKey)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.class,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+                    .Builder.class);
       }
 
-      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -9648,19 +11965,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+          getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result = buildPartial();
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -9668,14 +11988,19 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+          buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result =
+            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result) {
+      private void buildPartial0(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.publicKeyPem_ = publicKeyPem_;
@@ -9689,46 +12014,56 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) {
-          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)other);
+        if (other
+            instanceof
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) {
+          return mergeFrom(
+              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
+                  other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other) {
-        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey other) {
+        if (other
+            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+                .getDefaultInstance()) return this;
         if (!other.getPublicKeyPem().isEmpty()) {
           publicKeyPem_ = other.publicKeyPem_;
           bitField0_ |= 0x00000001;
@@ -9763,22 +12098,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                publicKeyPem_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 16: {
-                signatureAlgorithm_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  publicKeyPem_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 16:
+                {
+                  signatureAlgorithm_ = input.readEnum();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9788,23 +12126,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private java.lang.Object publicKeyPem_ = "";
       /**
+       *
+       *
        * 
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; + * * @return The publicKeyPem. */ public java.lang.String getPublicKeyPem() { java.lang.Object ref = publicKeyPem_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; @@ -9813,21 +12154,22 @@ public java.lang.String getPublicKeyPem() { } } /** + * + * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; + * * @return The bytes for publicKeyPem. */ - public com.google.protobuf.ByteString - getPublicKeyPemBytes() { + public com.google.protobuf.ByteString getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -9835,30 +12177,37 @@ public java.lang.String getPublicKeyPem() { } } /** + * + * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; + * * @param value The publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPem( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyPem(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKeyPem_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; + * * @return This builder for chaining. */ public Builder clearPublicKeyPem() { @@ -9868,18 +12217,22 @@ public Builder clearPublicKeyPem() { return this; } /** + * + * *
        * A PEM-encoded public key, as described in
        * https://tools.ietf.org/html/rfc7468#section-13
        * 
* * string public_key_pem = 1; + * * @param value The bytes for publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPemBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKeyPem_ = value; bitField0_ |= 0x00000001; @@ -9889,6 +12242,8 @@ public Builder setPublicKeyPemBytes( private int signatureAlgorithm_ = 0; /** + * + * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -9897,13 +12252,19 @@ public Builder setPublicKeyPemBytes(
        * that of the public key).
        * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override public int getSignatureAlgorithmValue() { + @java.lang.Override + public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** + * + * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -9912,7 +12273,10 @@ public Builder setPublicKeyPemBytes(
        * that of the public key).
        * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @param value The enum numeric value on the wire for signatureAlgorithm to set. * @return This builder for chaining. */ @@ -9923,6 +12287,8 @@ public Builder setSignatureAlgorithmValue(int value) { return this; } /** + * + * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -9931,15 +12297,29 @@ public Builder setSignatureAlgorithmValue(int value) {
        * that of the public key).
        * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The signatureAlgorithm. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm result = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm + getSignatureAlgorithm() { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm + result = + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm.forNumber(signatureAlgorithm_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm.UNRECOGNIZED + : result; } /** + * + * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -9948,11 +12328,17 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
        * that of the public key).
        * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @param value The signatureAlgorithm to set. * @return This builder for chaining. */ - public Builder setSignatureAlgorithm(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.SignatureAlgorithm value) { + public Builder setSignatureAlgorithm( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .SignatureAlgorithm + value) { if (value == null) { throw new NullPointerException(); } @@ -9962,6 +12348,8 @@ public Builder setSignatureAlgorithm(com.google.protos.google.cloud.binaryauthor return this; } /** + * + * *
        * The signature algorithm used to verify a message against a signature using
        * this key.
@@ -9970,7 +12358,10 @@ public Builder setSignatureAlgorithm(com.google.protos.google.cloud.binaryauthor
        * that of the public key).
        * 
* - * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return This builder for chaining. */ public Builder clearSignatureAlgorithm() { @@ -9979,6 +12370,7 @@ public Builder clearSignatureAlgorithm() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9991,41 +12383,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.PkixPublicKey) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.PkixPublicKey) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources + .PkixPublicKey + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PkixPublicKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PkixPublicKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10037,37 +12434,45 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AttestorPublicKeyOrBuilder extends + public interface AttestorPublicKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.AttestorPublicKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The comment. */ java.lang.String getComment(); /** + * + * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for comment. */ - com.google.protobuf.ByteString - getCommentBytes(); + com.google.protobuf.ByteString getCommentBytes(); /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -10079,10 +12484,13 @@ public interface AttestorPublicKeyOrBuilder extends
      * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -10094,12 +12502,14 @@ public interface AttestorPublicKeyOrBuilder extends
      * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -10112,10 +12522,13 @@ public interface AttestorPublicKeyOrBuilder extends
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return Whether the asciiArmoredPgpPublicKey field is set. */ boolean hasAsciiArmoredPgpPublicKey(); /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -10128,10 +12541,13 @@ public interface AttestorPublicKeyOrBuilder extends
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The asciiArmoredPgpPublicKey. */ java.lang.String getAsciiArmoredPgpPublicKey(); /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -10144,12 +12560,14 @@ public interface AttestorPublicKeyOrBuilder extends
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The bytes for asciiArmoredPgpPublicKey. */ - com.google.protobuf.ByteString - getAsciiArmoredPgpPublicKeyBytes(); + com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes(); /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -10160,10 +12578,13 @@ public interface AttestorPublicKeyOrBuilder extends
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; + * * @return Whether the pkixPublicKey field is set. */ boolean hasPkixPublicKey(); /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -10174,10 +12595,14 @@ public interface AttestorPublicKeyOrBuilder extends
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; + * * @return The pkixPublicKey. */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getPkixPublicKey(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + getPkixPublicKey(); /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -10189,11 +12614,15 @@ public interface AttestorPublicKeyOrBuilder extends
      *
      * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
      */
-    com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder();
+    com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder
+        getPkixPublicKeyOrBuilder();
 
-    com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.PublicKeyCase getPublicKeyCase();
+    com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.PublicKeyCase
+        getPublicKeyCase();
   }
   /**
+   *
+   *
    * 
    * An [attestor public key][google.cloud.binaryauthorization.v1.AttestorPublicKey] that will be used to verify
    * attestations signed by this attestor.
@@ -10201,15 +12630,16 @@ public interface AttestorPublicKeyOrBuilder extends
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.AttestorPublicKey}
    */
-  public static final class AttestorPublicKey extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class AttestorPublicKey extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.AttestorPublicKey)
       AttestorPublicKeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use AttestorPublicKey.newBuilder() to construct.
     private AttestorPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private AttestorPublicKey() {
       comment_ = "";
       id_ = "";
@@ -10217,34 +12647,41 @@ private AttestorPublicKey() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new AttestorPublicKey();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+          .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+                  .class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+                  .Builder.class);
     }
 
     private int publicKeyCase_ = 0;
+
     @SuppressWarnings("serial")
     private java.lang.Object publicKey_;
+
     public enum PublicKeyCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ASCII_ARMORED_PGP_PUBLIC_KEY(3),
       PKIX_PUBLIC_KEY(5),
       PUBLICKEY_NOT_SET(0);
       private final int value;
+
       private PublicKeyCase(int value) {
         this.value = value;
       }
@@ -10260,32 +12697,39 @@ public static PublicKeyCase valueOf(int value) {
 
       public static PublicKeyCase forNumber(int value) {
         switch (value) {
-          case 3: return ASCII_ARMORED_PGP_PUBLIC_KEY;
-          case 5: return PKIX_PUBLIC_KEY;
-          case 0: return PUBLICKEY_NOT_SET;
-          default: return null;
+          case 3:
+            return ASCII_ARMORED_PGP_PUBLIC_KEY;
+          case 5:
+            return PKIX_PUBLIC_KEY;
+          case 0:
+            return PUBLICKEY_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public PublicKeyCase
-    getPublicKeyCase() {
-      return PublicKeyCase.forNumber(
-          publicKeyCase_);
+    public PublicKeyCase getPublicKeyCase() {
+      return PublicKeyCase.forNumber(publicKeyCase_);
     }
 
     public static final int COMMENT_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object comment_ = "";
     /**
+     *
+     *
      * 
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The comment. */ @java.lang.Override @@ -10294,29 +12738,29 @@ public java.lang.String getComment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; } } /** + * + * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for comment. */ @java.lang.Override - public com.google.protobuf.ByteString - getCommentBytes() { + public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); comment_ = b; return b; } else { @@ -10325,9 +12769,12 @@ public java.lang.String getComment() { } public static final int ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -10339,6 +12786,7 @@ public java.lang.String getComment() {
      * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -10347,14 +12795,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -10366,16 +12815,15 @@ public java.lang.String getId() {
      * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -10385,6 +12833,8 @@ public java.lang.String getId() { public static final int ASCII_ARMORED_PGP_PUBLIC_KEY_FIELD_NUMBER = 3; /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -10397,12 +12847,15 @@ public java.lang.String getId() {
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return Whether the asciiArmoredPgpPublicKey field is set. */ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -10415,6 +12868,7 @@ public boolean hasAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The asciiArmoredPgpPublicKey. */ public java.lang.String getAsciiArmoredPgpPublicKey() { @@ -10425,8 +12879,7 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -10435,6 +12888,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -10447,18 +12902,17 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The bytes for asciiArmoredPgpPublicKey. */ - public com.google.protobuf.ByteString - getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -10470,6 +12924,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { public static final int PKIX_PUBLIC_KEY_FIELD_NUMBER = 5; /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -10480,6 +12936,7 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; + * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -10487,6 +12944,8 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -10497,16 +12956,22 @@ public boolean hasPkixPublicKey() {
      * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; + * * @return The pkixPublicKey. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getPkixPublicKey() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + getPkixPublicKey() { if (publicKeyCase_ == 5) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) + publicKey_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .getDefaultInstance(); } /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -10519,14 +12984,18 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
      * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
      */
     @java.lang.Override
-    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
+    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder
+        getPkixPublicKeyOrBuilder() {
       if (publicKeyCase_ == 5) {
-         return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_;
+        return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
+            publicKey_;
       }
-      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
+      return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+          .getDefaultInstance();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -10538,8 +13007,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
         com.google.protobuf.GeneratedMessageV3.writeString(output, 1, comment_);
       }
@@ -10550,7 +13018,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         com.google.protobuf.GeneratedMessageV3.writeString(output, 3, publicKey_);
       }
       if (publicKeyCase_ == 5) {
-        output.writeMessage(5, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_);
+        output.writeMessage(
+            5,
+            (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
+                publicKey_);
       }
       getUnknownFields().writeTo(output);
     }
@@ -10571,8 +13042,11 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publicKey_);
       }
       if (publicKeyCase_ == 5) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                5,
+                (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
+                    publicKey_);
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -10582,26 +13056,26 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)) {
+      if (!(obj
+          instanceof
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)) {
         return super.equals(obj);
       }
-      com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other = (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) obj;
+      com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other =
+          (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) obj;
 
-      if (!getComment()
-          .equals(other.getComment())) return false;
-      if (!getId()
-          .equals(other.getId())) return false;
+      if (!getComment().equals(other.getComment())) return false;
+      if (!getId().equals(other.getId())) return false;
       if (!getPublicKeyCase().equals(other.getPublicKeyCase())) return false;
       switch (publicKeyCase_) {
         case 3:
-          if (!getAsciiArmoredPgpPublicKey()
-              .equals(other.getAsciiArmoredPgpPublicKey())) return false;
+          if (!getAsciiArmoredPgpPublicKey().equals(other.getAsciiArmoredPgpPublicKey()))
+            return false;
           break;
         case 5:
-          if (!getPkixPublicKey()
-              .equals(other.getPkixPublicKey())) return false;
+          if (!getPkixPublicKey().equals(other.getPkixPublicKey())) return false;
           break;
         case 0:
         default:
@@ -10638,90 +13112,102 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(java.nio.ByteBuffer data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(
+            java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        com.google.protobuf.ByteString data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(com.google.protobuf.ByteString data)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        com.google.protobuf.ByteString data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(
+            com.google.protobuf.ByteString data,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey parseFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        parseFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey prototype) {
+
+    public static Builder newBuilder(
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+            prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -10731,6 +13217,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * An [attestor public key][google.cloud.binaryauthorization.v1.AttestorPublicKey] that will be used to verify
      * attestations signed by this attestor.
@@ -10738,33 +13226,36 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.binaryauthorization.v1.AttestorPublicKey}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.AttestorPublicKey)
         com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKeyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.class, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.Builder.class);
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+                    .class,
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+                    .Builder.class);
       }
 
-      // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10780,19 +13271,23 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getDefaultInstanceForType() {
-        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+          getDefaultInstanceForType() {
+        return com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+            .getDefaultInstance();
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey build() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result = buildPartial();
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+          build() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -10800,15 +13295,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorP
       }
 
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey buildPartial() {
-        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+          buildPartial() {
+        com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result =
+            new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey(
+                this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result) {
+      private void buildPartial0(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+              result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.comment_ = comment_;
@@ -10818,11 +13320,12 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1
         }
       }
 
-      private void buildPartialOneofs(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey result) {
+      private void buildPartialOneofs(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+              result) {
         result.publicKeyCase_ = publicKeyCase_;
         result.publicKey_ = this.publicKey_;
-        if (publicKeyCase_ == 5 &&
-            pkixPublicKeyBuilder_ != null) {
+        if (publicKeyCase_ == 5 && pkixPublicKeyBuilder_ != null) {
           result.publicKey_ = pkixPublicKeyBuilder_.build();
         }
       }
@@ -10831,46 +13334,56 @@ private void buildPartialOneofs(com.google.protos.google.cloud.binaryauthorizati
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) {
-          return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)other);
+        if (other
+            instanceof
+            com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey) {
+          return mergeFrom(
+              (com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey)
+                  other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other) {
-        if (other == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey other) {
+        if (other
+            == com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+                .getDefaultInstance()) return this;
         if (!other.getComment().isEmpty()) {
           comment_ = other.comment_;
           bitField0_ |= 0x00000001;
@@ -10882,19 +13395,22 @@ public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.R
           onChanged();
         }
         switch (other.getPublicKeyCase()) {
-          case ASCII_ARMORED_PGP_PUBLIC_KEY: {
-            publicKeyCase_ = 3;
-            publicKey_ = other.publicKey_;
-            onChanged();
-            break;
-          }
-          case PKIX_PUBLIC_KEY: {
-            mergePkixPublicKey(other.getPkixPublicKey());
-            break;
-          }
-          case PUBLICKEY_NOT_SET: {
-            break;
-          }
+          case ASCII_ARMORED_PGP_PUBLIC_KEY:
+            {
+              publicKeyCase_ = 3;
+              publicKey_ = other.publicKey_;
+              onChanged();
+              break;
+            }
+          case PKIX_PUBLIC_KEY:
+            {
+              mergePkixPublicKey(other.getPkixPublicKey());
+              break;
+            }
+          case PUBLICKEY_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -10922,35 +13438,38 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                comment_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 18: {
-                id_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-              case 26: {
-                java.lang.String s = input.readStringRequireUtf8();
-                publicKeyCase_ = 3;
-                publicKey_ = s;
-                break;
-              } // case 26
-              case 42: {
-                input.readMessage(
-                    getPkixPublicKeyFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                publicKeyCase_ = 5;
-                break;
-              } // case 42
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  comment_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 18:
+                {
+                  id_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 18
+              case 26:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  publicKeyCase_ = 3;
+                  publicKey_ = s;
+                  break;
+                } // case 26
+              case 42:
+                {
+                  input.readMessage(getPkixPublicKeyFieldBuilder().getBuilder(), extensionRegistry);
+                  publicKeyCase_ = 5;
+                  break;
+                } // case 42
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10960,12 +13479,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int publicKeyCase_ = 0;
       private java.lang.Object publicKey_;
-      public PublicKeyCase
-          getPublicKeyCase() {
-        return PublicKeyCase.forNumber(
-            publicKeyCase_);
+
+      public PublicKeyCase getPublicKeyCase() {
+        return PublicKeyCase.forNumber(publicKeyCase_);
       }
 
       public Builder clearPublicKey() {
@@ -10979,18 +13498,20 @@ public Builder clearPublicKey() {
 
       private java.lang.Object comment_ = "";
       /**
+       *
+       *
        * 
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; @@ -10999,20 +13520,21 @@ public java.lang.String getComment() { } } /** + * + * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for comment. */ - public com.google.protobuf.ByteString - getCommentBytes() { + public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); comment_ = b; return b; } else { @@ -11020,28 +13542,35 @@ public java.lang.String getComment() { } } /** + * + * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The comment to set. * @return This builder for chaining. */ - public Builder setComment( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setComment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } comment_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearComment() { @@ -11051,17 +13580,21 @@ public Builder clearComment() { return this; } /** + * + * *
        * Optional. A descriptive comment. This field may be updated.
        * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for comment to set. * @return This builder for chaining. */ - public Builder setCommentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCommentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); comment_ = value; bitField0_ |= 0x00000001; @@ -11071,6 +13604,8 @@ public Builder setCommentBytes( private java.lang.Object id_ = ""; /** + * + * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -11082,13 +13617,13 @@ public Builder setCommentBytes(
        * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -11097,6 +13632,8 @@ public java.lang.String getId() { } } /** + * + * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -11108,15 +13645,14 @@ public java.lang.String getId() {
        * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -11124,6 +13660,8 @@ public java.lang.String getId() { } } /** + * + * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -11135,18 +13673,22 @@ public java.lang.String getId() {
        * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -11158,6 +13700,7 @@ public Builder setId(
        * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -11167,6 +13710,8 @@ public Builder clearId() { return this; } /** + * + * *
        * The ID of this public key.
        * Signatures verified by BinAuthz must include the ID of the public key that
@@ -11178,12 +13723,14 @@ public Builder clearId() {
        * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -11192,6 +13739,8 @@ public Builder setIdBytes( } /** + * + * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -11204,6 +13753,7 @@ public Builder setIdBytes(
        * 
* * string ascii_armored_pgp_public_key = 3; + * * @return Whether the asciiArmoredPgpPublicKey field is set. */ @java.lang.Override @@ -11211,6 +13761,8 @@ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** + * + * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -11223,6 +13775,7 @@ public boolean hasAsciiArmoredPgpPublicKey() {
        * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The asciiArmoredPgpPublicKey. */ @java.lang.Override @@ -11232,8 +13785,7 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { ref = publicKey_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -11244,6 +13796,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** + * + * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -11256,19 +13810,18 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
        * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The bytes for asciiArmoredPgpPublicKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -11278,6 +13831,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** + * + * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -11290,18 +13845,22 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
        * 
* * string ascii_armored_pgp_public_key = 3; + * * @param value The asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsciiArmoredPgpPublicKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKeyCase_ = 3; publicKey_ = value; onChanged(); return this; } /** + * + * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -11314,6 +13873,7 @@ public Builder setAsciiArmoredPgpPublicKey(
        * 
* * string ascii_armored_pgp_public_key = 3; + * * @return This builder for chaining. */ public Builder clearAsciiArmoredPgpPublicKey() { @@ -11325,6 +13885,8 @@ public Builder clearAsciiArmoredPgpPublicKey() { return this; } /** + * + * *
        * ASCII-armored representation of a PGP public key, as the entire output by
        * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -11337,12 +13899,14 @@ public Builder clearAsciiArmoredPgpPublicKey() {
        * 
* * string ascii_armored_pgp_public_key = 3; + * * @param value The bytes for asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKeyCase_ = 3; publicKey_ = value; @@ -11351,8 +13915,14 @@ public Builder setAsciiArmoredPgpPublicKeyBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder> pkixPublicKeyBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .PkixPublicKeyOrBuilder> + pkixPublicKeyBuilder_; /** + * + * *
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11363,6 +13933,7 @@ public Builder setAsciiArmoredPgpPublicKeyBytes(
        * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; + * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -11370,6 +13941,8 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** + * + * *
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11380,23 +13953,30 @@ public boolean hasPkixPublicKey() {
        * 
* * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5; + * * @return The pkixPublicKey. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey getPkixPublicKey() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + getPkixPublicKey() { if (pkixPublicKeyBuilder_ == null) { if (publicKeyCase_ == 5) { - return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_; + return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) + publicKey_; } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .getDefaultInstance(); } else { if (publicKeyCase_ == 5) { return pkixPublicKeyBuilder_.getMessage(); } - return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance(); + return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey + .getDefaultInstance(); } } /** + * + * *
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11408,7 +13988,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
        *
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
-      public Builder setPkixPublicKey(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
+      public Builder setPkixPublicKey(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
         if (pkixPublicKeyBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -11422,6 +14003,8 @@ public Builder setPkixPublicKey(com.google.protos.google.cloud.binaryauthorizati
         return this;
       }
       /**
+       *
+       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11434,7 +14017,8 @@ public Builder setPkixPublicKey(com.google.protos.google.cloud.binaryauthorizati
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
       public Builder setPkixPublicKey(
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder builderForValue) {
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder
+              builderForValue) {
         if (pkixPublicKeyBuilder_ == null) {
           publicKey_ = builderForValue.build();
           onChanged();
@@ -11445,6 +14029,8 @@ public Builder setPkixPublicKey(
         return this;
       }
       /**
+       *
+       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11456,12 +14042,21 @@ public Builder setPkixPublicKey(
        *
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
-      public Builder mergePkixPublicKey(com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
+      public Builder mergePkixPublicKey(
+          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey value) {
         if (pkixPublicKeyBuilder_ == null) {
-          if (publicKeyCase_ == 5 &&
-              publicKey_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance()) {
-            publicKey_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.newBuilder((com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_)
-                .mergeFrom(value).buildPartial();
+          if (publicKeyCase_ == 5
+              && publicKey_
+                  != com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+                      .getDefaultInstance()) {
+            publicKey_ =
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+                    .newBuilder(
+                        (com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                                .PkixPublicKey)
+                            publicKey_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             publicKey_ = value;
           }
@@ -11477,6 +14072,8 @@ public Builder mergePkixPublicKey(com.google.protos.google.cloud.binaryauthoriza
         return this;
       }
       /**
+       *
+       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11505,6 +14102,8 @@ public Builder clearPkixPublicKey() {
         return this;
       }
       /**
+       *
+       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11516,10 +14115,13 @@ public Builder clearPkixPublicKey() {
        *
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder getPkixPublicKeyBuilder() {
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder
+          getPkixPublicKeyBuilder() {
         return getPkixPublicKeyFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11532,17 +14134,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
       @java.lang.Override
-      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
+      public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder
+          getPkixPublicKeyOrBuilder() {
         if ((publicKeyCase_ == 5) && (pkixPublicKeyBuilder_ != null)) {
           return pkixPublicKeyBuilder_.getMessageOrBuilder();
         } else {
           if (publicKeyCase_ == 5) {
-            return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_;
+            return (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
+                publicKey_;
           }
-          return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
+          return com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+              .getDefaultInstance();
         }
       }
       /**
+       *
+       *
        * 
        * A raw PKIX SubjectPublicKeyInfo format public key.
        *
@@ -11555,15 +14162,26 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
        * .google.cloud.binaryauthorization.v1.PkixPublicKey pkix_public_key = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder> 
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder,
+              com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                  .PkixPublicKeyOrBuilder>
           getPkixPublicKeyFieldBuilder() {
         if (pkixPublicKeyBuilder_ == null) {
           if (!(publicKeyCase_ == 5)) {
-            publicKey_ = com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.getDefaultInstance();
+            publicKey_ =
+                com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+                    .getDefaultInstance();
           }
-          pkixPublicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKeyOrBuilder>(
-                  (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey) publicKey_,
+          pkixPublicKeyBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey,
+                  com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey
+                      .Builder,
+                  com.google.protos.google.cloud.binaryauthorization.v1.Resources
+                      .PkixPublicKeyOrBuilder>(
+                  (com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPublicKey)
+                      publicKey_,
                   getParentForChildren(),
                   isClean());
           publicKey_ = null;
@@ -11572,6 +14190,7 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PkixPubli
         onChanged();
         return pkixPublicKeyBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -11584,41 +14203,46 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.AttestorPublicKey)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.AttestorPublicKey)
-    private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey DEFAULT_INSTANCE;
+    private static final com.google.protos.google.cloud.binaryauthorization.v1.Resources
+            .AttestorPublicKey
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey();
+      DEFAULT_INSTANCE =
+          new com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey();
     }
 
-    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getDefaultInstance() {
+    public static com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public AttestorPublicKey parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public AttestorPublicKey parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -11630,255 +14254,284 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey getDefaultInstanceForType() {
+    public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorPublicKey
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable;
   private static final com.google.protobuf.Descriptors.Descriptor
-    internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
-  private static final 
-    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor;
+  private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable;
 
-  public static com.google.protobuf.Descriptors.FileDescriptor
-      getDescriptor() {
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
     return descriptor;
   }
-  private static  com.google.protobuf.Descriptors.FileDescriptor
-      descriptor;
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
   static {
     java.lang.String[] descriptorData = {
-      "\n3google/cloud/binaryauthorization/v1/re" +
-      "sources.proto\022#google.cloud.binaryauthor" +
-      "ization.v1\032\037google/api/field_behavior.pr" +
-      "oto\032\031google/api/resource.proto\032\037google/p" +
-      "rotobuf/timestamp.proto\"\202\r\n\006Policy\022\022\n\004na" +
-      "me\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030\006 \001(\tB\004\342A\001" +
-      "\001\022s\n\035global_policy_evaluation_mode\030\007 \001(\016" +
-      "2F.google.cloud.binaryauthorization.v1.P" +
-      "olicy.GlobalPolicyEvaluationModeB\004\342A\001\001\022j" +
-      "\n\034admission_whitelist_patterns\030\002 \003(\0132>.g" +
-      "oogle.cloud.binaryauthorization.v1.Admis" +
-      "sionWhitelistPatternB\004\342A\001\001\022m\n\027cluster_ad" +
-      "mission_rules\030\003 \003(\0132F.google.cloud.binar" +
-      "yauthorization.v1.Policy.ClusterAdmissio" +
-      "nRulesEntryB\004\342A\001\001\022\206\001\n$kubernetes_namespa" +
-      "ce_admission_rules\030\n \003(\0132R.google.cloud." +
-      "binaryauthorization.v1.Policy.Kubernetes" +
-      "NamespaceAdmissionRulesEntryB\004\342A\001\001\022\221\001\n*k" +
-      "ubernetes_service_account_admission_rule" +
-      "s\030\010 \003(\0132W.google.cloud.binaryauthorizati" +
-      "on.v1.Policy.KubernetesServiceAccountAdm" +
-      "issionRulesEntryB\004\342A\001\001\022\211\001\n&istio_service" +
-      "_identity_admission_rules\030\t \003(\0132S.google" +
-      ".cloud.binaryauthorization.v1.Policy.Ist" +
-      "ioServiceIdentityAdmissionRulesEntryB\004\342A" +
-      "\001\001\022X\n\026default_admission_rule\030\004 \001(\01322.goo" +
-      "gle.cloud.binaryauthorization.v1.Admissi" +
-      "onRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032.goog" +
-      "le.protobuf.TimestampB\004\342A\001\003\032p\n\032ClusterAd" +
-      "missionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030" +
-      "\002 \001(\01322.google.cloud.binaryauthorization" +
-      ".v1.AdmissionRule:\0028\001\032|\n&KubernetesNames" +
-      "paceAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005" +
-      "value\030\002 \001(\01322.google.cloud.binaryauthori" +
-      "zation.v1.AdmissionRule:\0028\001\032\201\001\n+Kubernet" +
-      "esServiceAccountAdmissionRulesEntry\022\013\n\003k" +
-      "ey\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.b" +
-      "inaryauthorization.v1.AdmissionRule:\0028\001\032" +
-      "}\n\'IstioServiceIdentityAdmissionRulesEnt" +
-      "ry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google." +
-      "cloud.binaryauthorization.v1.AdmissionRu" +
-      "le:\0028\001\"d\n\032GlobalPolicyEvaluationMode\022-\n)" +
-      "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIE" +
-      "D\020\000\022\n\n\006ENABLE\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binar" +
-      "yauthorization.googleapis.com/Policy\022\031pr" +
-      "ojects/{project}/policy\022\033locations/{loca" +
-      "tion}/policy\"1\n\031AdmissionWhitelistPatter" +
-      "n\022\024\n\014name_pattern\030\001 \001(\t\"\335\003\n\rAdmissionRul" +
-      "e\022`\n\017evaluation_mode\030\001 \001(\0162A.google.clou" +
-      "d.binaryauthorization.v1.AdmissionRule.E" +
-      "valuationModeB\004\342A\001\002\022%\n\027require_attestati" +
-      "ons_by\030\002 \003(\tB\004\342A\001\001\022b\n\020enforcement_mode\030\003" +
-      " \001(\0162B.google.cloud.binaryauthorization." +
-      "v1.AdmissionRule.EnforcementModeB\004\342A\001\002\"m" +
-      "\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_UNSP" +
-      "ECIFIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_A" +
-      "TTESTATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforce" +
-      "mentMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED" +
-      "\020\000\022 \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025" +
-      "DRYRUN_AUDIT_LOG_ONLY\020\002\"\272\002\n\010Attestor\022\022\n\004" +
-      "name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342" +
-      "A\001\001\022\\\n\027user_owned_grafeas_note\030\003 \001(\01329.g" +
-      "oogle.cloud.binaryauthorization.v1.UserO" +
-      "wnedGrafeasNoteH\000\0225\n\013update_time\030\004 \001(\0132\032" +
-      ".google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n+b" +
-      "inaryauthorization.googleapis.com/Attest" +
-      "or\022\'projects/{project}/attestors/{attest" +
-      "or}B\017\n\rattestor_type\"\267\001\n\024UserOwnedGrafea" +
-      "sNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022Q\n\013p" +
-      "ublic_keys\030\002 \003(\01326.google.cloud.binaryau" +
-      "thorization.v1.AttestorPublicKeyB\004\342A\001\001\022." +
-      "\n delegation_service_account_email\030\003 \001(\t" +
-      "B\004\342A\001\003\"\277\004\n\rPkixPublicKey\022\026\n\016public_key_p" +
-      "em\030\001 \001(\t\022b\n\023signature_algorithm\030\002 \001(\0162E." +
-      "google.cloud.binaryauthorization.v1.Pkix" +
-      "PublicKey.SignatureAlgorithm\"\261\003\n\022Signatu" +
-      "reAlgorithm\022#\n\037SIGNATURE_ALGORITHM_UNSPE" +
-      "CIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA256\020\001\022\027\n\023RSA" +
-      "_PSS_3072_SHA256\020\002\022\027\n\023RSA_PSS_4096_SHA25" +
-      "6\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004\022\036\n\032RSA_SIGN" +
-      "_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3" +
-      "072_SHA256\020\006\022\036\n\032RSA_SIGN_PKCS1_4096_SHA2" +
-      "56\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_SHA512\020\010\022\025\n\021" +
-      "ECDSA_P256_SHA256\020\t\022\027\n\023EC_SIGN_P256_SHA2" +
-      "56\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022\027\n\023EC_SIGN_P" +
-      "384_SHA384\020\n\022\025\n\021ECDSA_P521_SHA512\020\013\022\027\n\023E" +
-      "C_SIGN_P521_SHA512\020\013\032\002\020\001\"\273\001\n\021AttestorPub" +
-      "licKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001\001\022\n\n\002id\030\002 \001(" +
-      "\t\022&\n\034ascii_armored_pgp_public_key\030\003 \001(\tH" +
-      "\000\022M\n\017pkix_public_key\030\005 \001(\01322.google.clou" +
-      "d.binaryauthorization.v1.PkixPublicKeyH\000" +
-      "B\014\n\npublic_keyB\214\002\n5com.google.protos.goo" +
-      "gle.cloud.binaryauthorization.v1P\000ZYclou" +
-      "d.google.com/go/binaryauthorization/apiv" +
-      "1/binaryauthorizationpb;binaryauthorizat" +
-      "ionpb\370\001\001\252\002#Google.Cloud.BinaryAuthorizat" +
-      "ion.V1\312\002#Google\\Cloud\\BinaryAuthorizatio" +
-      "n\\V1\352\002&Google::Cloud::BinaryAuthorizatio" +
-      "n::V1b\006proto3"
+      "\n3google/cloud/binaryauthorization/v1/re"
+          + "sources.proto\022#google.cloud.binaryauthor"
+          + "ization.v1\032\037google/api/field_behavior.pr"
+          + "oto\032\031google/api/resource.proto\032\037google/p"
+          + "rotobuf/timestamp.proto\"\202\r\n\006Policy\022\022\n\004na"
+          + "me\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030\006 \001(\tB\004\342A\001"
+          + "\001\022s\n\035global_policy_evaluation_mode\030\007 \001(\016"
+          + "2F.google.cloud.binaryauthorization.v1.P"
+          + "olicy.GlobalPolicyEvaluationModeB\004\342A\001\001\022j"
+          + "\n\034admission_whitelist_patterns\030\002 \003(\0132>.g"
+          + "oogle.cloud.binaryauthorization.v1.Admis"
+          + "sionWhitelistPatternB\004\342A\001\001\022m\n\027cluster_ad"
+          + "mission_rules\030\003 \003(\0132F.google.cloud.binar"
+          + "yauthorization.v1.Policy.ClusterAdmissio"
+          + "nRulesEntryB\004\342A\001\001\022\206\001\n$kubernetes_namespa"
+          + "ce_admission_rules\030\n \003(\0132R.google.cloud."
+          + "binaryauthorization.v1.Policy.Kubernetes"
+          + "NamespaceAdmissionRulesEntryB\004\342A\001\001\022\221\001\n*k"
+          + "ubernetes_service_account_admission_rule"
+          + "s\030\010 \003(\0132W.google.cloud.binaryauthorizati"
+          + "on.v1.Policy.KubernetesServiceAccountAdm"
+          + "issionRulesEntryB\004\342A\001\001\022\211\001\n&istio_service"
+          + "_identity_admission_rules\030\t \003(\0132S.google"
+          + ".cloud.binaryauthorization.v1.Policy.Ist"
+          + "ioServiceIdentityAdmissionRulesEntryB\004\342A"
+          + "\001\001\022X\n\026default_admission_rule\030\004 \001(\01322.goo"
+          + "gle.cloud.binaryauthorization.v1.Admissi"
+          + "onRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032.goog"
+          + "le.protobuf.TimestampB\004\342A\001\003\032p\n\032ClusterAd"
+          + "missionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030"
+          + "\002 \001(\01322.google.cloud.binaryauthorization"
+          + ".v1.AdmissionRule:\0028\001\032|\n&KubernetesNames"
+          + "paceAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022A\n\005"
+          + "value\030\002 \001(\01322.google.cloud.binaryauthori"
+          + "zation.v1.AdmissionRule:\0028\001\032\201\001\n+Kubernet"
+          + "esServiceAccountAdmissionRulesEntry\022\013\n\003k"
+          + "ey\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.b"
+          + "inaryauthorization.v1.AdmissionRule:\0028\001\032"
+          + "}\n\'IstioServiceIdentityAdmissionRulesEnt"
+          + "ry\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google."
+          + "cloud.binaryauthorization.v1.AdmissionRu"
+          + "le:\0028\001\"d\n\032GlobalPolicyEvaluationMode\022-\n)"
+          + "GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIE"
+          + "D\020\000\022\n\n\006ENABLE\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binar"
+          + "yauthorization.googleapis.com/Policy\022\031pr"
+          + "ojects/{project}/policy\022\033locations/{loca"
+          + "tion}/policy\"1\n\031AdmissionWhitelistPatter"
+          + "n\022\024\n\014name_pattern\030\001 \001(\t\"\335\003\n\rAdmissionRul"
+          + "e\022`\n\017evaluation_mode\030\001 \001(\0162A.google.clou"
+          + "d.binaryauthorization.v1.AdmissionRule.E"
+          + "valuationModeB\004\342A\001\002\022%\n\027require_attestati"
+          + "ons_by\030\002 \003(\tB\004\342A\001\001\022b\n\020enforcement_mode\030\003"
+          + " \001(\0162B.google.cloud.binaryauthorization."
+          + "v1.AdmissionRule.EnforcementModeB\004\342A\001\002\"m"
+          + "\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_UNSP"
+          + "ECIFIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_A"
+          + "TTESTATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforce"
+          + "mentMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED"
+          + "\020\000\022 \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025"
+          + "DRYRUN_AUDIT_LOG_ONLY\020\002\"\272\002\n\010Attestor\022\022\n\004"
+          + "name\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342"
+          + "A\001\001\022\\\n\027user_owned_grafeas_note\030\003 \001(\01329.g"
+          + "oogle.cloud.binaryauthorization.v1.UserO"
+          + "wnedGrafeasNoteH\000\0225\n\013update_time\030\004 \001(\0132\032"
+          + ".google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n+b"
+          + "inaryauthorization.googleapis.com/Attest"
+          + "or\022\'projects/{project}/attestors/{attest"
+          + "or}B\017\n\rattestor_type\"\267\001\n\024UserOwnedGrafea"
+          + "sNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022Q\n\013p"
+          + "ublic_keys\030\002 \003(\01326.google.cloud.binaryau"
+          + "thorization.v1.AttestorPublicKeyB\004\342A\001\001\022."
+          + "\n delegation_service_account_email\030\003 \001(\t"
+          + "B\004\342A\001\003\"\277\004\n\rPkixPublicKey\022\026\n\016public_key_p"
+          + "em\030\001 \001(\t\022b\n\023signature_algorithm\030\002 \001(\0162E."
+          + "google.cloud.binaryauthorization.v1.Pkix"
+          + "PublicKey.SignatureAlgorithm\"\261\003\n\022Signatu"
+          + "reAlgorithm\022#\n\037SIGNATURE_ALGORITHM_UNSPE"
+          + "CIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA256\020\001\022\027\n\023RSA"
+          + "_PSS_3072_SHA256\020\002\022\027\n\023RSA_PSS_4096_SHA25"
+          + "6\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004\022\036\n\032RSA_SIGN"
+          + "_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_SIGN_PKCS1_3"
+          + "072_SHA256\020\006\022\036\n\032RSA_SIGN_PKCS1_4096_SHA2"
+          + "56\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_SHA512\020\010\022\025\n\021"
+          + "ECDSA_P256_SHA256\020\t\022\027\n\023EC_SIGN_P256_SHA2"
+          + "56\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022\027\n\023EC_SIGN_P"
+          + "384_SHA384\020\n\022\025\n\021ECDSA_P521_SHA512\020\013\022\027\n\023E"
+          + "C_SIGN_P521_SHA512\020\013\032\002\020\001\"\273\001\n\021AttestorPub"
+          + "licKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001\001\022\n\n\002id\030\002 \001("
+          + "\t\022&\n\034ascii_armored_pgp_public_key\030\003 \001(\tH"
+          + "\000\022M\n\017pkix_public_key\030\005 \001(\01322.google.clou"
+          + "d.binaryauthorization.v1.PkixPublicKeyH\000"
+          + "B\014\n\npublic_keyB\214\002\n5com.google.protos.goo"
+          + "gle.cloud.binaryauthorization.v1P\000ZYclou"
+          + "d.google.com/go/binaryauthorization/apiv"
+          + "1/binaryauthorizationpb;binaryauthorizat"
+          + "ionpb\370\001\001\252\002#Google.Cloud.BinaryAuthorizat"
+          + "ion.V1\312\002#Google\\Cloud\\BinaryAuthorizatio"
+          + "n\\V1\352\002&Google::Cloud::BinaryAuthorizatio"
+          + "n::V1b\006proto3"
     };
-    descriptor = com.google.protobuf.Descriptors.FileDescriptor
-      .internalBuildGeneratedFileFrom(descriptorData,
-        new com.google.protobuf.Descriptors.FileDescriptor[] {
-          com.google.api.FieldBehaviorProto.getDescriptor(),
-          com.google.api.ResourceProto.getDescriptor(),
-          com.google.protobuf.TimestampProto.getDescriptor(),
-        });
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
     internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor =
-      getDescriptor().getMessageTypes().get(0);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor,
-        new java.lang.String[] { "Name", "Description", "GlobalPolicyEvaluationMode", "AdmissionWhitelistPatterns", "ClusterAdmissionRules", "KubernetesNamespaceAdmissionRules", "KubernetesServiceAccountAdmissionRules", "IstioServiceIdentityAdmissionRules", "DefaultAdmissionRule", "UpdateTime", });
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "Description",
+              "GlobalPolicyEvaluationMode",
+              "AdmissionWhitelistPatterns",
+              "ClusterAdmissionRules",
+              "KubernetesNamespaceAdmissionRules",
+              "KubernetesServiceAccountAdmissionRules",
+              "IstioServiceIdentityAdmissionRules",
+              "DefaultAdmissionRule",
+              "UpdateTime",
+            });
     internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor =
-      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(0);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor,
-        new java.lang.String[] { "Key", "Value", });
+        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_Policy_ClusterAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
     internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor =
-      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(1);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor,
-        new java.lang.String[] { "Key", "Value", });
+        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
+            .getNestedTypes()
+            .get(1);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
     internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor =
-      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(2);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor,
-        new java.lang.String[] { "Key", "Value", });
+        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
+            .getNestedTypes()
+            .get(2);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
     internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor =
-      internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor.getNestedTypes().get(3);
-    internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor,
-        new java.lang.String[] { "Key", "Value", });
+        internal_static_google_cloud_binaryauthorization_v1_Policy_descriptor
+            .getNestedTypes()
+            .get(3);
+    internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
     internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor =
-      getDescriptor().getMessageTypes().get(1);
-    internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor,
-        new java.lang.String[] { "NamePattern", });
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_AdmissionWhitelistPattern_descriptor,
+            new java.lang.String[] {
+              "NamePattern",
+            });
     internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor =
-      getDescriptor().getMessageTypes().get(2);
-    internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor,
-        new java.lang.String[] { "EvaluationMode", "RequireAttestationsBy", "EnforcementMode", });
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_AdmissionRule_descriptor,
+            new java.lang.String[] {
+              "EvaluationMode", "RequireAttestationsBy", "EnforcementMode",
+            });
     internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor =
-      getDescriptor().getMessageTypes().get(3);
-    internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor,
-        new java.lang.String[] { "Name", "Description", "UserOwnedGrafeasNote", "UpdateTime", "AttestorType", });
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1_Attestor_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_Attestor_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "UserOwnedGrafeasNote", "UpdateTime", "AttestorType",
+            });
     internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor =
-      getDescriptor().getMessageTypes().get(4);
-    internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor,
-        new java.lang.String[] { "NoteReference", "PublicKeys", "DelegationServiceAccountEmail", });
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_UserOwnedGrafeasNote_descriptor,
+            new java.lang.String[] {
+              "NoteReference", "PublicKeys", "DelegationServiceAccountEmail",
+            });
     internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor =
-      getDescriptor().getMessageTypes().get(5);
-    internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor,
-        new java.lang.String[] { "PublicKeyPem", "SignatureAlgorithm", });
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_PkixPublicKey_descriptor,
+            new java.lang.String[] {
+              "PublicKeyPem", "SignatureAlgorithm",
+            });
     internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor =
-      getDescriptor().getMessageTypes().get(6);
-    internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable = new
-      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
-        internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor,
-        new java.lang.String[] { "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey", });
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1_AttestorPublicKey_descriptor,
+            new java.lang.String[] {
+              "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey",
+            });
     com.google.protobuf.ExtensionRegistry registry =
         com.google.protobuf.ExtensionRegistry.newInstance();
     registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
     registry.add(com.google.api.ResourceProto.resource);
-    com.google.protobuf.Descriptors.FileDescriptor
-        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
     com.google.api.FieldBehaviorProto.getDescriptor();
     com.google.api.ResourceProto.getDescriptor();
     com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
similarity index 59%
rename from owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
index d22da7205503..03b5a8a212da 100644
--- a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
+++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/Service.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/binaryauthorization/v1/service.proto
 
@@ -5,91 +20,110 @@
 
 public final class Service {
   private Service() {}
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistryLite registry) {
-  }
 
-  public static void registerAllExtensions(
-      com.google.protobuf.ExtensionRegistry registry) {
-    registerAllExtensions(
-        (com.google.protobuf.ExtensionRegistryLite) registry);
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
   }
-  public interface GetPolicyRequestOrBuilder extends
+
+  public interface GetPolicyRequestOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.GetPolicyRequest)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.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 resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.google.api.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(); } /** + * + * *
    * Request message for [BinauthzManagementService.GetPolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetPolicyRequest} */ - public static final class GetPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.GetPolicyRequest) GetPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPolicyRequest.newBuilder() to construct. private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.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 @@ -98,30 +132,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 resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -130,6 +166,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -166,15 +202,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.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -193,90 +231,101 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -286,39 +335,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for [BinauthzManagementService.GetPolicy][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.GetPolicyRequest) com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.newBuilder() - private Builder() { + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -328,19 +382,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -348,14 +406,20 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRe } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -366,46 +430,56 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -437,17 +511,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,23 +533,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * string name = 1 [(.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; @@ -482,21 +563,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * string name = 1 [(.google.api.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 { @@ -504,30 +588,41 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * string 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() { @@ -537,24 +632,31 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1.Policy] to retrieve,
        * in the format `projects/*/policy`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -567,41 +669,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.GetPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.GetPolicyRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetPolicyRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,98 +720,124 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdatePolicyRequestOrBuilder extends + public interface UpdatePolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The policy. */ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy(); /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder getPolicyOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder + getPolicyOrBuilder(); } /** + * + * *
    * Request message for [BinauthzManagementService.UpdatePolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdatePolicyRequest} */ - public static final class UpdatePolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) UpdatePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePolicyRequest.newBuilder() to construct. private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePolicyRequest() { - } + + private UpdatePolicyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + .Builder.class); } public static final int POLICY_FIELD_NUMBER = 1; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy policy_; /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the policy field is set. */ @java.lang.Override @@ -712,34 +845,51 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The policy. */ @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy() { - return policy_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance() + : policy_; } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder getPolicyOrBuilder() { - return policy_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder + getPolicyOrBuilder() { + return policy_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance() + : policy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -751,8 +901,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -766,8 +915,7 @@ public int getSerializedSize() { size = 0; if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -777,17 +925,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.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) obj; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy() - .equals(other.getPolicy())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -809,90 +959,102 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -902,39 +1064,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for [BinauthzManagementService.UpdatePolicy][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdatePolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.newBuilder() - private Builder() { + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -948,19 +1115,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -968,19 +1139,24 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolic } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.policy_ = policyBuilder_ == null - ? policy_ - : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); } } @@ -988,46 +1164,56 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + .getDefaultInstance()) return this; if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } @@ -1057,19 +1243,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1079,51 +1265,73 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> policyBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> + policyBuilder_; /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The policy. */ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy() { if (policyBuilder_ == null) { - return policy_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance() + : policy_; } else { return policyBuilder_.getMessage(); } } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { + public Builder setPolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { if (policyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1137,16 +1345,21 @@ public Builder setPolicy(com.google.protos.google.cloud.binaryauthorization.v1.R return this; } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder + builderForValue) { if (policyBuilder_ == null) { policy_ = builderForValue.build(); } else { @@ -1157,19 +1370,26 @@ public Builder setPolicy( return this; } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { + public Builder mergePolicy( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy value) { if (policyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - policy_ != null && - policy_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && policy_ != null + && policy_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance()) { getPolicyBuilder().mergeFrom(value); } else { policy_ = value; @@ -1182,13 +1402,17 @@ public Builder mergePolicy(com.google.protos.google.cloud.binaryauthorization.v1 return this; } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPolicy() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1201,58 +1425,78 @@ public Builder clearPolicy() { return this; } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder getPolicyBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder + getPolicyBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPolicyFieldBuilder().getBuilder(); } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder getPolicyOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder + getPolicyOrBuilder() { if (policyBuilder_ != null) { return policyBuilder_.getMessageOrBuilder(); } else { - return policy_ == null ? - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy + .getDefaultInstance() + : policy_; } } /** + * + * *
        * Required. A new or updated [policy][google.cloud.binaryauthorization.v1.Policy] value. The service will
        * overwrite the [policy name][google.cloud.binaryauthorization.v1.Policy.name] field with the resource name in
        * the request URL, in the format `projects/*/policy`.
        * 
* - * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder> getPolicyFieldBuilder() { if (policyBuilder_ == null) { - policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder>( - getPolicy(), - getParentForChildren(), - isClean()); + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.PolicyOrBuilder>( + getPolicy(), getParentForChildren(), isClean()); policy_ = null; } return policyBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1265,41 +1509,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.UpdatePolicyRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdatePolicyRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1311,105 +1560,138 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CreateAttestorRequestOrBuilder extends + public interface CreateAttestorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.CreateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * string parent = 1 [(.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 of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * string parent = 1 [(.google.api.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 [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestorId. */ java.lang.String getAttestorId(); /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestorId. */ - com.google.protobuf.ByteString - getAttestorIdBytes(); + com.google.protobuf.ByteString getAttestorIdBytes(); /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ boolean hasAttestor(); /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor(); /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorOrBuilder(); } /** + * + * *
    * Request message for [BinauthzManagementService.CreateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.CreateAttestorRequest} */ - public static final class CreateAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CreateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.CreateAttestorRequest) CreateAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAttestorRequest.newBuilder() to construct. private CreateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAttestorRequest() { parent_ = ""; attestorId_ = ""; @@ -1417,33 +1699,42 @@ private CreateAttestorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + .Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * string parent = 1 [(.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 @@ -1452,29 +1743,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
      * 
* - * string parent = 1 [(.google.api.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 { @@ -1483,14 +1776,18 @@ public java.lang.String getParent() { } public static final int ATTESTOR_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object attestorId_ = ""; /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestorId. */ @java.lang.Override @@ -1499,29 +1796,29 @@ public java.lang.String getAttestorId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; } } /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestorId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttestorIdBytes() { + public com.google.protobuf.ByteString getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attestorId_ = b; return b; } else { @@ -1532,13 +1829,18 @@ public java.lang.String getAttestorId() { public static final int ATTESTOR_FIELD_NUMBER = 3; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ @java.lang.Override @@ -1546,34 +1848,51 @@ public boolean hasAttestor() { return attestor_ != null; } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { - return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { - return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorOrBuilder() { + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1585,8 +1904,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1612,8 +1930,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, attestorId_); } if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAttestor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1623,21 +1940,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.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getAttestorId() - .equals(other.getAttestorId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getAttestorId().equals(other.getAttestorId())) return false; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor() - .equals(other.getAttestor())) return false; + if (!getAttestor().equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1663,90 +1980,114 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1756,39 +2097,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for [BinauthzManagementService.CreateAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.CreateAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.CreateAttestorRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1804,19 +2151,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1824,14 +2175,21 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttes } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -1840,9 +2198,7 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 result.attestorId_ = attestorId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.attestor_ = attestorBuilder_ == null - ? attestor_ - : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); } } @@ -1850,46 +2206,57 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -1929,29 +2296,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - attestorId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getAttestorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + attestorId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1961,22 +2330,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * string parent = 1 [(.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; @@ -1985,20 +2359,23 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * string parent = 1 [(.google.api.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 { @@ -2006,28 +2383,39 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * string 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() { @@ -2037,17 +2425,23 @@ public Builder clearParent() { return this; } /** + * + * *
        * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1.Attestor].
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -2057,18 +2451,20 @@ public Builder setParentBytes( private java.lang.Object attestorId_ = ""; /** + * + * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestorId. */ public java.lang.String getAttestorId() { java.lang.Object ref = attestorId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; @@ -2077,20 +2473,21 @@ public java.lang.String getAttestorId() { } } /** + * + * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestorId. */ - public com.google.protobuf.ByteString - getAttestorIdBytes() { + public com.google.protobuf.ByteString getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attestorId_ = b; return b; } else { @@ -2098,28 +2495,35 @@ public java.lang.String getAttestorId() { } } /** + * + * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttestorId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attestorId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAttestorId() { @@ -2129,17 +2533,21 @@ public Builder clearAttestorId() { return this; } /** + * + * *
        * Required. The [attestors][google.cloud.binaryauthorization.v1.Attestor] ID.
        * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttestorIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attestorId_ = value; bitField0_ |= 0x00000002; @@ -2149,47 +2557,69 @@ public Builder setAttestorIdBytes( private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> attestorBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + attestorBuilder_; /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } else { return attestorBuilder_.getMessage(); } } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder setAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2203,16 +2633,21 @@ public Builder setAttestor(com.google.protos.google.cloud.binaryauthorization.v1 return this; } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + builderForValue) { if (attestorBuilder_ == null) { attestor_ = builderForValue.build(); } else { @@ -2223,19 +2658,26 @@ public Builder setAttestor( return this; } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder mergeAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - attestor_ != null && - attestor_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && attestor_ != null + && attestor_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -2248,13 +2690,17 @@ public Builder mergeAttestor(com.google.protos.google.cloud.binaryauthorization. return this; } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2267,58 +2713,78 @@ public Builder clearAttestor() { return this; } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder getAttestorBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + getAttestorBuilder() { bitField0_ |= 0x00000004; onChanged(); return getAttestorFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null ? - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } } /** + * + * *
        * Required. The initial [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name,
        * in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder>( - getAttestor(), - getParentForChildren(), - isClean()); + attestorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorOrBuilder>(getAttestor(), getParentForChildren(), isClean()); attestor_ = null; } return attestorBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2331,41 +2797,47 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.CreateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.CreateAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .CreateAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2377,88 +2849,110 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GetAttestorRequestOrBuilder extends + public interface GetAttestorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.GetAttestorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.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 [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.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(); } /** + * + * *
    * Request message for [BinauthzManagementService.GetAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetAttestorRequest} */ - public static final class GetAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.GetAttestorRequest) GetAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAttestorRequest.newBuilder() to construct. private GetAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + .Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.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 @@ -2467,30 +2961,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 [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -2499,6 +2995,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2510,8 +3007,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2535,15 +3031,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.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2562,90 +3060,102 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2655,39 +3165,44 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for [BinauthzManagementService.GetAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.GetAttestorRequest) com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2697,19 +3212,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2717,14 +3236,20 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestor } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -2735,46 +3260,56 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2806,17 +3341,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2826,23 +3363,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.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; @@ -2851,21 +3393,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.google.api.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 { @@ -2873,30 +3418,41 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * string 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() { @@ -2906,24 +3462,31 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The name of the [attestor][google.cloud.binaryauthorization.v1.Attestor] to retrieve, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2936,41 +3499,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.GetAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.GetAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetAttestorRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2982,98 +3550,124 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdateAttestorRequestOrBuilder extends + public interface UpdateAttestorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ boolean hasAttestor(); /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor(); /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder(); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorOrBuilder(); } /** + * + * *
    * Request message for [BinauthzManagementService.UpdateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdateAttestorRequest} */ - public static final class UpdateAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UpdateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) UpdateAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAttestorRequest.newBuilder() to construct. private UpdateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAttestorRequest() { - } + + private UpdateAttestorRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + .Builder.class); } public static final int ATTESTOR_FIELD_NUMBER = 1; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ @java.lang.Override @@ -3081,34 +3675,51 @@ public boolean hasAttestor() { return attestor_ != null; } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { - return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { - return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorOrBuilder() { + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3120,8 +3731,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (attestor_ != null) { output.writeMessage(1, getAttestor()); } @@ -3135,8 +3745,7 @@ public int getSerializedSize() { size = 0; if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttestor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3146,17 +3755,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.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) obj; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor() - .equals(other.getAttestor())) return false; + if (!getAttestor().equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3178,90 +3789,114 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3271,39 +3906,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for [BinauthzManagementService.UpdateAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.UpdateAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3317,19 +3958,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3337,19 +3982,24 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttes } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attestor_ = attestorBuilder_ == null - ? attestor_ - : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); } } @@ -3357,46 +4007,57 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + .getDefaultInstance()) return this; if (other.hasAttestor()) { mergeAttestor(other.getAttestor()); } @@ -3426,19 +4087,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAttestorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3448,51 +4109,74 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> attestorBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + attestorBuilder_; /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } else { return attestorBuilder_.getMessage(); } } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder setAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3506,16 +4190,21 @@ public Builder setAttestor(com.google.protos.google.cloud.binaryauthorization.v1 return this; } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + builderForValue) { if (attestorBuilder_ == null) { attestor_ = builderForValue.build(); } else { @@ -3526,19 +4215,26 @@ public Builder setAttestor( return this; } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder mergeAttestor( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - attestor_ != null && - attestor_ != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && attestor_ != null + && attestor_ + != com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -3551,13 +4247,17 @@ public Builder mergeAttestor(com.google.protos.google.cloud.binaryauthorization. return this; } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000001); @@ -3570,58 +4270,78 @@ public Builder clearAttestor() { return this; } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder getAttestorBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + getAttestorBuilder() { bitField0_ |= 0x00000001; onChanged(); return getAttestorFieldBuilder().getBuilder(); } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorOrBuilder() { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null ? - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance() + : attestor_; } } /** + * + * *
        * Required. The updated [attestor][google.cloud.binaryauthorization.v1.Attestor] value. The service will
        * overwrite the [attestor name][google.cloud.binaryauthorization.v1.Attestor.name] field with the resource name
        * in the request URL, in the format `projects/*/attestors/*`.
        * 
* - * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder>( - getAttestor(), - getParentForChildren(), - isClean()); + attestorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorOrBuilder>(getAttestor(), getParentForChildren(), isClean()); attestor_ = null; } return attestorBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3634,41 +4354,47 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.UpdateAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .UpdateAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3680,50 +4406,65 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListAttestorsRequestOrBuilder extends + public interface ListAttestorsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ListAttestorsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.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 resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -3731,10 +4472,13 @@ public interface ListAttestorsRequestOrBuilder extends
      * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -3742,27 +4486,30 @@ public interface ListAttestorsRequestOrBuilder extends
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } /** + * + * *
    * Request message for [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsRequest} */ - public static final class ListAttestorsRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListAttestorsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ListAttestorsRequest) ListAttestorsRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttestorsRequest.newBuilder() to construct. private ListAttestorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAttestorsRequest() { parent_ = ""; pageToken_ = ""; @@ -3770,34 +4517,43 @@ private ListAttestorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAttestorsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + .Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.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 @@ -3806,30 +4562,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 resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -3840,12 +4598,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -3854,9 +4615,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -3864,6 +4628,7 @@ public int getPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -3872,14 +4637,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 token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -3887,16 +4653,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 { @@ -3905,6 +4670,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3916,8 +4682,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3940,8 +4705,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_); @@ -3954,19 +4718,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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3989,90 +4753,102 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4082,39 +4858,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for [BinauthzManagementService.ListAttestors][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ListAttestorsRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4126,19 +4908,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4146,14 +4932,21 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttesto } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -4170,46 +4963,57 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -4249,27 +5053,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4279,23 +5087,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * string parent = 1 [(.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; @@ -4304,21 +5117,24 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * string parent = 1 [(.google.api.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 { @@ -4326,30 +5142,41 @@ public java.lang.String getParent() { } } /** + * + * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * string 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() { @@ -4359,18 +5186,24 @@ public Builder clearParent() { return this; } /** + * + * *
        * Required. The resource name of the project associated with the
        * [attestors][google.cloud.binaryauthorization.v1.Attestor], in the format `projects/*`.
        * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -4378,14 +5211,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
        * Requested page size. The server may return fewer results than requested. If
        * unspecified, the server will pick an appropriate default.
        * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -4393,12 +5229,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
        * Requested page size. The server may return fewer results than requested. If
        * unspecified, the server will pick an appropriate default.
        * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -4410,12 +5249,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
        * Requested page size. The server may return fewer results than requested. If
        * unspecified, the server will pick an appropriate default.
        * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -4427,6 +5269,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4434,13 +5278,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; @@ -4449,6 +5293,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4456,15 +5302,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 { @@ -4472,6 +5317,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4479,18 +5326,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4498,6 +5349,7 @@ public Builder setPageToken(
        * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -4507,6 +5359,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
        * A token identifying a page of results the server should return. Typically,
        * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token] returned
@@ -4514,18 +5368,21 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4538,41 +5395,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ListAttestorsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ListAttestorsRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4584,34 +5446,42 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ListAttestorsResponseOrBuilder extends + public interface ListAttestorsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ListAttestorsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - java.util.List + java.util.List getAttestorsList(); /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors(int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors( + int index); /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -4620,25 +5490,33 @@ public interface ListAttestorsResponseOrBuilder extends */ int getAttestorsCount(); /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - java.util.List + java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorsOrBuilderList(); /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorsOrBuilder( - int index); + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorsOrBuilder(int index); /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -4646,10 +5524,13 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilde
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -4657,27 +5538,30 @@ com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilde
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } /** + * + * *
    * Response message for [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsResponse} */ - public static final class ListAttestorsResponse extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ListAttestorsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ListAttestorsResponse) ListAttestorsResponseOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttestorsResponse.newBuilder() to construct. private ListAttestorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAttestorsResponse() { attestors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -4685,28 +5569,35 @@ private ListAttestorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAttestorsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + .Builder.class); } public static final int ATTESTORS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List attestors_; + private java.util.List + attestors_; /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -4714,10 +5605,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public java.util.List getAttestorsList() { + public java.util.List + getAttestorsList() { return attestors_; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -4725,11 +5619,15 @@ public java.util.Listrepeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorsOrBuilderList() { return attestors_; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -4741,6 +5639,8 @@ public int getAttestorsCount() { return attestors_.size(); } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -4748,10 +5648,13 @@ public int getAttestorsCount() { * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors( + int index) { return attestors_.get(index); } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
      * 
@@ -4759,15 +5662,18 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorsOrBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorsOrBuilder(int index) { return attestors_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -4775,6 +5681,7 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorO
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -4783,14 +5690,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -4798,16 +5706,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -4816,6 +5723,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4827,8 +5735,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < attestors_.size(); i++) { output.writeMessage(1, attestors_.get(i)); } @@ -4845,8 +5752,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < attestors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, attestors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, attestors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -4859,17 +5765,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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) obj; - if (!getAttestorsList() - .equals(other.getAttestorsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAttestorsList().equals(other.getAttestorsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4892,90 +5799,114 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4985,39 +5916,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Response message for [BinauthzManagementService.ListAttestors][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.ListAttestorsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ListAttestorsResponse) - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5034,19 +5971,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -5054,15 +5995,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttesto } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse(this); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse( + this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result) { + private void buildPartialRepeatedFields( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + result) { if (attestorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attestors_ = java.util.Collections.unmodifiableList(attestors_); @@ -5074,7 +6022,9 @@ private void buildPartialRepeatedFields(com.google.protos.google.cloud.binaryaut } } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -5085,46 +6035,57 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + .getDefaultInstance()) return this; if (attestorsBuilder_ == null) { if (!other.attestors_.isEmpty()) { if (attestors_.isEmpty()) { @@ -5143,9 +6104,10 @@ public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.S attestorsBuilder_ = null; attestors_ = other.attestors_; bitField0_ = (bitField0_ & ~0x00000001); - attestorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAttestorsFieldBuilder() : null; + attestorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAttestorsFieldBuilder() + : null; } else { attestorsBuilder_.addAllMessages(other.attestors_); } @@ -5182,30 +6144,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor m = - input.readMessage( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.parser(), - extensionRegistry); - if (attestorsBuilder_ == null) { - ensureAttestorsIsMutable(); - attestors_.add(m); - } else { - attestorsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor m = + input.readMessage( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .parser(), + extensionRegistry); + if (attestorsBuilder_ == null) { + ensureAttestorsIsMutable(); + attestors_.add(m); + } else { + attestorsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5215,28 +6181,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List attestors_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + attestors_ = java.util.Collections.emptyList(); + private void ensureAttestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - attestors_ = new java.util.ArrayList(attestors_); + attestors_ = + new java.util.ArrayList< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( + attestors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> attestorsBuilder_; + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + attestorsBuilder_; /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public java.util.List getAttestorsList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + getAttestorsList() { if (attestorsBuilder_ == null) { return java.util.Collections.unmodifiableList(attestors_); } else { @@ -5244,6 +6223,8 @@ public java.util.List * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor]. *
@@ -5258,13 +6239,16 @@ public int getAttestorsCount() { } } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors(int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestors( + int index) { if (attestorsBuilder_ == null) { return attestors_.get(index); } else { @@ -5272,6 +6256,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor } } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -5279,7 +6265,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder setAttestors( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5293,6 +6280,8 @@ public Builder setAttestors( return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -5300,7 +6289,9 @@ public Builder setAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder setAttestors( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + builderForValue) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); attestors_.set(index, builderForValue.build()); @@ -5311,13 +6302,16 @@ public Builder setAttestors( return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public Builder addAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + public Builder addAttestors( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5331,6 +6325,8 @@ public Builder addAttestors(com.google.protos.google.cloud.binaryauthorization.v return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -5338,7 +6334,8 @@ public Builder addAttestors(com.google.protos.google.cloud.binaryauthorization.v * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAttestors( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor value) { if (attestorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5352,6 +6349,8 @@ public Builder addAttestors( return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -5359,7 +6358,8 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + builderForValue) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); attestors_.add(builderForValue.build()); @@ -5370,6 +6370,8 @@ public Builder addAttestors( return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -5377,7 +6379,9 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAttestors( - int index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder builderForValue) { + int index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + builderForValue) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); attestors_.add(index, builderForValue.build()); @@ -5388,6 +6392,8 @@ public Builder addAttestors( return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -5395,11 +6401,13 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ public Builder addAllAttestors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor> + values) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attestors_); onChanged(); } else { attestorsBuilder_.addAllMessages(values); @@ -5407,7 +6415,9 @@ public Builder addAllAttestors( return this; } /** - *
+       *
+       *
+       * 
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* @@ -5424,6 +6434,8 @@ public Builder clearAttestors() { return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
@@ -5441,39 +6453,48 @@ public Builder removeAttestors(int index) { return this; } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder getAttestorsBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + getAttestorsBuilder(int index) { return getAttestorsFieldBuilder().getBuilder(index); } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder getAttestorsOrBuilder( - int index) { + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder + getAttestorsOrBuilder(int index) { if (attestorsBuilder_ == null) { - return attestors_.get(index); } else { + return attestors_.get(index); + } else { return attestorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public java.util.List - getAttestorsOrBuilderList() { + public java.util.List< + ? extends + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + getAttestorsOrBuilderList() { if (attestorsBuilder_ != null) { return attestorsBuilder_.getMessageOrBuilderList(); } else { @@ -5481,49 +6502,66 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorO } } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder addAttestorsBuilder() { - return getAttestorsFieldBuilder().addBuilder( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + addAttestorsBuilder() { + return getAttestorsFieldBuilder() + .addBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance()); } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder addAttestorsBuilder( - int index) { - return getAttestorsFieldBuilder().addBuilder( - index, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance()); + public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder + addAttestorsBuilder(int index) { + return getAttestorsFieldBuilder() + .addBuilder( + index, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor + .getDefaultInstance()); } /** + * + * *
        * The list of [attestors][google.cloud.binaryauthorization.v1.Attestor].
        * 
* * repeated .google.cloud.binaryauthorization.v1.Attestor attestors = 1; */ - public java.util.List - getAttestorsBuilderList() { + public java.util.List< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder> + getAttestorsBuilderList() { return getAttestorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder> getAttestorsFieldBuilder() { if (attestorsBuilder_ == null) { - attestorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, com.google.protos.google.cloud.binaryauthorization.v1.Resources.AttestorOrBuilder>( - attestors_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + attestorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor, + com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.Builder, + com.google.protos.google.cloud.binaryauthorization.v1.Resources + .AttestorOrBuilder>( + attestors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); attestors_ = null; } return attestorsBuilder_; @@ -5531,6 +6569,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor. private java.lang.Object nextPageToken_ = ""; /** + * + * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5538,13 +6578,13 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.
        * 
* * 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; @@ -5553,6 +6593,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5560,15 +6602,14 @@ public java.lang.String getNextPageToken() {
        * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -5576,6 +6617,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5583,18 +6626,22 @@ public java.lang.String getNextPageToken() {
        * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5602,6 +6649,7 @@ public Builder setNextPageToken(
        * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -5611,6 +6659,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
        * A token to retrieve the next page of results. Pass this value in the
        * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -5618,18 +6668,21 @@ public Builder clearNextPageToken() {
        * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5642,41 +6695,47 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ListAttestorsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ListAttestorsResponse) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ListAttestorsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5688,88 +6747,110 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DeleteAttestorRequestOrBuilder extends + public interface DeleteAttestorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.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 [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.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(); } /** + * + * *
    * Request message for [BinauthzManagementService.DeleteAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.DeleteAttestorRequest} */ - public static final class DeleteAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DeleteAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) DeleteAttestorRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAttestorRequest.newBuilder() to construct. private DeleteAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + .Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.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 @@ -5778,30 +6859,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 [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -5810,6 +6893,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5821,8 +6905,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -5846,15 +6929,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.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5873,90 +6958,114 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5966,39 +7075,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for [BinauthzManagementService.DeleteAttestor][].
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.DeleteAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.newBuilder() - private Builder() { + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6008,19 +7123,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6028,14 +7147,21 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttes } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -6046,46 +7172,57 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -6117,17 +7254,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6137,23 +7276,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.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; @@ -6162,21 +7306,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.google.api.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 { @@ -6184,30 +7331,41 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * string 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() { @@ -6217,24 +7375,31 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The name of the [attestors][google.cloud.binaryauthorization.v1.Attestor] to delete, in the format
        * `projects/*/attestors/*`.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6247,41 +7412,47 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.DeleteAttestorRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .DeleteAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6293,88 +7464,110 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface GetSystemPolicyRequestOrBuilder extends + public interface GetSystemPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.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 resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.google.api.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(); } /** + * + * *
    * Request to read the current system policy.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetSystemPolicyRequest} */ - public static final class GetSystemPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GetSystemPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) GetSystemPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSystemPolicyRequest.newBuilder() to construct. private GetSystemPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSystemPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSystemPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + .Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.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 @@ -6383,30 +7576,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 resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.google.api.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 { @@ -6415,6 +7610,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6426,8 +7622,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6451,15 +7646,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.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) + obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -6478,90 +7676,114 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6571,39 +7793,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request to read the current system policy.
      * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1.GetSystemPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + .class, + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + .Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6613,19 +7841,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6633,14 +7865,22 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPo } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -6651,46 +7891,57 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -6722,17 +7973,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6742,23 +7995,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * string name = 1 [(.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; @@ -6767,21 +8025,24 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * string name = 1 [(.google.api.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 { @@ -6789,30 +8050,41 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * string 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() { @@ -6822,24 +8094,31 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The resource name, in the format `locations/*/policy`.
        * Note that the system policy is not associated with a project.
        * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6852,41 +8131,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.GetSystemPolicyRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .GetSystemPolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSystemPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSystemPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6898,17 +8184,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ValidateAttestationOccurrenceRequestOrBuilder extends + public interface ValidateAttestationOccurrenceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -6916,10 +8205,13 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder extends
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestor. */ java.lang.String getAttestor(); /** + * + * *
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -6927,12 +8219,14 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder extends
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestor. */ - com.google.protobuf.ByteString - getAttestorBytes(); + com.google.protobuf.ByteString getAttestorBytes(); /** + * + * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -6940,11 +8234,16 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder extends
      * AttestationOccurrence.
      * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestation field is set. */ boolean hasAttestation(); /** + * + * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -6952,11 +8251,16 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder extends
      * AttestationOccurrence.
      * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestation. */ io.grafeas.v1.AttestationOccurrence getAttestation(); /** + * + * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -6964,55 +8268,69 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder extends
      * AttestationOccurrence.
      * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder(); /** + * + * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The occurrenceNote. */ java.lang.String getOccurrenceNote(); /** + * + * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for occurrenceNote. */ - com.google.protobuf.ByteString - getOccurrenceNoteBytes(); + com.google.protobuf.ByteString getOccurrenceNoteBytes(); /** + * + * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The occurrenceResourceUri. */ java.lang.String getOccurrenceResourceUri(); /** + * + * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for occurrenceResourceUri. */ - com.google.protobuf.ByteString - getOccurrenceResourceUriBytes(); + com.google.protobuf.ByteString getOccurrenceResourceUriBytes(); } /** + * + * *
    * Request message for
    * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
@@ -7020,15 +8338,18 @@ public interface ValidateAttestationOccurrenceRequestOrBuilder extends
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest}
    */
-  public static final class ValidateAttestationOccurrenceRequest extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ValidateAttestationOccurrenceRequest
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest)
       ValidateAttestationOccurrenceRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ValidateAttestationOccurrenceRequest.newBuilder() to construct.
-    private ValidateAttestationOccurrenceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private ValidateAttestationOccurrenceRequest(
+        com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ValidateAttestationOccurrenceRequest() {
       attestor_ = "";
       occurrenceNote_ = "";
@@ -7037,28 +8358,34 @@ private ValidateAttestationOccurrenceRequest() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ValidateAttestationOccurrenceRequest();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service
+          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service
+          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Service
+                  .ValidateAttestationOccurrenceRequest.class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Service
+                  .ValidateAttestationOccurrenceRequest.Builder.class);
     }
 
     public static final int ATTESTOR_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object attestor_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -7066,6 +8393,7 @@ protected java.lang.Object newInstance(
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestor. */ @java.lang.Override @@ -7074,14 +8402,15 @@ public java.lang.String getAttestor() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestor_ = s; return s; } } /** + * + * *
      * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
      * [occurrence][grafeas.v1.Occurrence], in the format
@@ -7089,16 +8418,15 @@ public java.lang.String getAttestor() {
      * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestor. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttestorBytes() { + public com.google.protobuf.ByteString getAttestorBytes() { java.lang.Object ref = attestor_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attestor_ = b; return b; } else { @@ -7109,6 +8437,8 @@ public java.lang.String getAttestor() { public static final int ATTESTATION_FIELD_NUMBER = 2; private io.grafeas.v1.AttestationOccurrence attestation_; /** + * + * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -7116,7 +8446,10 @@ public java.lang.String getAttestor() {
      * AttestationOccurrence.
      * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestation field is set. */ @java.lang.Override @@ -7124,6 +8457,8 @@ public boolean hasAttestation() { return attestation_ != null; } /** + * + * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -7131,14 +8466,21 @@ public boolean hasAttestation() {
      * AttestationOccurrence.
      * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestation. */ @java.lang.Override public io.grafeas.v1.AttestationOccurrence getAttestation() { - return attestation_ == null ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; + return attestation_ == null + ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() + : attestation_; } /** + * + * *
      * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
      * be checked that it can be verified by the Attestor. It does not have to be
@@ -7146,23 +8488,31 @@ public io.grafeas.v1.AttestationOccurrence getAttestation() {
      * AttestationOccurrence.
      * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() { - return attestation_ == null ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; + return attestation_ == null + ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() + : attestation_; } public static final int OCCURRENCE_NOTE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object occurrenceNote_ = ""; /** + * + * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The occurrenceNote. */ @java.lang.Override @@ -7171,30 +8521,30 @@ public java.lang.String getOccurrenceNote() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceNote_ = s; return s; } } /** + * + * *
      * Required. The resource name of the [Note][grafeas.v1.Note] to which the
      * containing [Occurrence][grafeas.v1.Occurrence] is associated.
      * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for occurrenceNote. */ @java.lang.Override - public com.google.protobuf.ByteString - getOccurrenceNoteBytes() { + public com.google.protobuf.ByteString getOccurrenceNoteBytes() { java.lang.Object ref = occurrenceNote_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); occurrenceNote_ = b; return b; } else { @@ -7203,15 +8553,19 @@ public java.lang.String getOccurrenceNote() { } public static final int OCCURRENCE_RESOURCE_URI_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object occurrenceResourceUri_ = ""; /** + * + * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The occurrenceResourceUri. */ @java.lang.Override @@ -7220,30 +8574,30 @@ public java.lang.String getOccurrenceResourceUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceResourceUri_ = s; return s; } } /** + * + * *
      * Required. The URI of the artifact (e.g. container image) that is the
      * subject of the containing [Occurrence][grafeas.v1.Occurrence].
      * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for occurrenceResourceUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getOccurrenceResourceUriBytes() { + public com.google.protobuf.ByteString getOccurrenceResourceUriBytes() { java.lang.Object ref = occurrenceResourceUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); occurrenceResourceUri_ = b; return b; } else { @@ -7252,6 +8606,7 @@ public java.lang.String getOccurrenceResourceUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7263,8 +8618,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(attestor_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, attestor_); } @@ -7290,8 +8644,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, attestor_); } if (attestation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAttestation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAttestation()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(occurrenceNote_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, occurrenceNote_); @@ -7307,24 +8660,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.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest) + obj; - if (!getAttestor() - .equals(other.getAttestor())) return false; + if (!getAttestor().equals(other.getAttestor())) return false; if (hasAttestation() != other.hasAttestation()) return false; if (hasAttestation()) { - if (!getAttestation() - .equals(other.getAttestation())) return false; + if (!getAttestation().equals(other.getAttestation())) return false; } - if (!getOccurrenceNote() - .equals(other.getOccurrenceNote())) return false; - if (!getOccurrenceResourceUri() - .equals(other.getOccurrenceResourceUri())) return false; + if (!getOccurrenceNote().equals(other.getOccurrenceNote())) return false; + if (!getOccurrenceResourceUri().equals(other.getOccurrenceResourceUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7351,90 +8708,115 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7444,40 +8826,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Request message for
      * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
      * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest.class, + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest.Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7494,19 +8883,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7514,22 +8910,32 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAtt } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.attestor_ = attestor_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.attestation_ = attestationBuilder_ == null - ? attestation_ - : attestationBuilder_.build(); + result.attestation_ = + attestationBuilder_ == null ? attestation_ : attestationBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.occurrenceNote_ = occurrenceNote_; @@ -7543,46 +8949,60 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest.getDefaultInstance()) return this; if (!other.getAttestor().isEmpty()) { attestor_ = other.attestor_; bitField0_ |= 0x00000001; @@ -7627,34 +9047,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - attestor_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getAttestationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - occurrenceNote_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - occurrenceResourceUri_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + attestor_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getAttestationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + occurrenceNote_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + occurrenceResourceUri_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7664,10 +9087,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object attestor_ = ""; /** + * + * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -7675,13 +9101,13 @@ public Builder mergeFrom(
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestor. */ public java.lang.String getAttestor() { java.lang.Object ref = attestor_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestor_ = s; return s; @@ -7690,6 +9116,8 @@ public java.lang.String getAttestor() { } } /** + * + * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -7697,15 +9125,14 @@ public java.lang.String getAttestor() {
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestor. */ - public com.google.protobuf.ByteString - getAttestorBytes() { + public com.google.protobuf.ByteString getAttestorBytes() { java.lang.Object ref = attestor_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attestor_ = b; return b; } else { @@ -7713,6 +9140,8 @@ public java.lang.String getAttestor() { } } /** + * + * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -7720,18 +9149,22 @@ public java.lang.String getAttestor() {
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The attestor to set. * @return This builder for chaining. */ - public Builder setAttestor( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttestor(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attestor_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -7739,6 +9172,7 @@ public Builder setAttestor(
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAttestor() { @@ -7748,6 +9182,8 @@ public Builder clearAttestor() { return this; } /** + * + * *
        * Required. The resource name of the [Attestor][google.cloud.binaryauthorization.v1.Attestor] of the
        * [occurrence][grafeas.v1.Occurrence], in the format
@@ -7755,12 +9191,14 @@ public Builder clearAttestor() {
        * 
* * string attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for attestor to set. * @return This builder for chaining. */ - public Builder setAttestorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttestorBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attestor_ = value; bitField0_ |= 0x00000001; @@ -7770,8 +9208,13 @@ public Builder setAttestorBytes( private io.grafeas.v1.AttestationOccurrence attestation_; private com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.AttestationOccurrence, io.grafeas.v1.AttestationOccurrence.Builder, io.grafeas.v1.AttestationOccurrenceOrBuilder> attestationBuilder_; + io.grafeas.v1.AttestationOccurrence, + io.grafeas.v1.AttestationOccurrence.Builder, + io.grafeas.v1.AttestationOccurrenceOrBuilder> + attestationBuilder_; /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7779,13 +9222,18 @@ public Builder setAttestorBytes(
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestation field is set. */ public boolean hasAttestation() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7793,17 +9241,24 @@ public boolean hasAttestation() {
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestation. */ public io.grafeas.v1.AttestationOccurrence getAttestation() { if (attestationBuilder_ == null) { - return attestation_ == null ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; + return attestation_ == null + ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() + : attestation_; } else { return attestationBuilder_.getMessage(); } } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7811,7 +9266,9 @@ public io.grafeas.v1.AttestationOccurrence getAttestation() {
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence value) { if (attestationBuilder_ == null) { @@ -7827,6 +9284,8 @@ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence value) { return this; } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7834,10 +9293,11 @@ public Builder setAttestation(io.grafeas.v1.AttestationOccurrence value) {
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAttestation( - io.grafeas.v1.AttestationOccurrence.Builder builderForValue) { + public Builder setAttestation(io.grafeas.v1.AttestationOccurrence.Builder builderForValue) { if (attestationBuilder_ == null) { attestation_ = builderForValue.build(); } else { @@ -7848,6 +9308,8 @@ public Builder setAttestation( return this; } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7855,13 +9317,15 @@ public Builder setAttestation(
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAttestation(io.grafeas.v1.AttestationOccurrence value) { if (attestationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - attestation_ != null && - attestation_ != io.grafeas.v1.AttestationOccurrence.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && attestation_ != null + && attestation_ != io.grafeas.v1.AttestationOccurrence.getDefaultInstance()) { getAttestationBuilder().mergeFrom(value); } else { attestation_ = value; @@ -7874,6 +9338,8 @@ public Builder mergeAttestation(io.grafeas.v1.AttestationOccurrence value) { return this; } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7881,7 +9347,9 @@ public Builder mergeAttestation(io.grafeas.v1.AttestationOccurrence value) {
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttestation() { bitField0_ = (bitField0_ & ~0x00000002); @@ -7894,6 +9362,8 @@ public Builder clearAttestation() { return this; } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7901,7 +9371,9 @@ public Builder clearAttestation() {
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public io.grafeas.v1.AttestationOccurrence.Builder getAttestationBuilder() { bitField0_ |= 0x00000002; @@ -7909,6 +9381,8 @@ public io.grafeas.v1.AttestationOccurrence.Builder getAttestationBuilder() { return getAttestationFieldBuilder().getBuilder(); } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7916,17 +9390,22 @@ public io.grafeas.v1.AttestationOccurrence.Builder getAttestationBuilder() {
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() { if (attestationBuilder_ != null) { return attestationBuilder_.getMessageOrBuilder(); } else { - return attestation_ == null ? - io.grafeas.v1.AttestationOccurrence.getDefaultInstance() : attestation_; + return attestation_ == null + ? io.grafeas.v1.AttestationOccurrence.getDefaultInstance() + : attestation_; } } /** + * + * *
        * Required. An [AttestationOccurrence][grafeas.v1.AttestationOccurrence] to
        * be checked that it can be verified by the Attestor. It does not have to be
@@ -7934,17 +9413,22 @@ public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() {
        * AttestationOccurrence.
        * 
* - * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .grafeas.v1.AttestationOccurrence attestation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.AttestationOccurrence, io.grafeas.v1.AttestationOccurrence.Builder, io.grafeas.v1.AttestationOccurrenceOrBuilder> + io.grafeas.v1.AttestationOccurrence, + io.grafeas.v1.AttestationOccurrence.Builder, + io.grafeas.v1.AttestationOccurrenceOrBuilder> getAttestationFieldBuilder() { if (attestationBuilder_ == null) { - attestationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.grafeas.v1.AttestationOccurrence, io.grafeas.v1.AttestationOccurrence.Builder, io.grafeas.v1.AttestationOccurrenceOrBuilder>( - getAttestation(), - getParentForChildren(), - isClean()); + attestationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + io.grafeas.v1.AttestationOccurrence, + io.grafeas.v1.AttestationOccurrence.Builder, + io.grafeas.v1.AttestationOccurrenceOrBuilder>( + getAttestation(), getParentForChildren(), isClean()); attestation_ = null; } return attestationBuilder_; @@ -7952,19 +9436,21 @@ public io.grafeas.v1.AttestationOccurrenceOrBuilder getAttestationOrBuilder() { private java.lang.Object occurrenceNote_ = ""; /** + * + * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The occurrenceNote. */ public java.lang.String getOccurrenceNote() { java.lang.Object ref = occurrenceNote_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceNote_ = s; return s; @@ -7973,21 +9459,22 @@ public java.lang.String getOccurrenceNote() { } } /** + * + * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for occurrenceNote. */ - public com.google.protobuf.ByteString - getOccurrenceNoteBytes() { + public com.google.protobuf.ByteString getOccurrenceNoteBytes() { java.lang.Object ref = occurrenceNote_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); occurrenceNote_ = b; return b; } else { @@ -7995,30 +9482,37 @@ public java.lang.String getOccurrenceNote() { } } /** + * + * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The occurrenceNote to set. * @return This builder for chaining. */ - public Builder setOccurrenceNote( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOccurrenceNote(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } occurrenceNote_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOccurrenceNote() { @@ -8028,18 +9522,22 @@ public Builder clearOccurrenceNote() { return this; } /** + * + * *
        * Required. The resource name of the [Note][grafeas.v1.Note] to which the
        * containing [Occurrence][grafeas.v1.Occurrence] is associated.
        * 
* * string occurrence_note = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for occurrenceNote to set. * @return This builder for chaining. */ - public Builder setOccurrenceNoteBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOccurrenceNoteBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); occurrenceNote_ = value; bitField0_ |= 0x00000004; @@ -8049,19 +9547,21 @@ public Builder setOccurrenceNoteBytes( private java.lang.Object occurrenceResourceUri_ = ""; /** + * + * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The occurrenceResourceUri. */ public java.lang.String getOccurrenceResourceUri() { java.lang.Object ref = occurrenceResourceUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); occurrenceResourceUri_ = s; return s; @@ -8070,21 +9570,22 @@ public java.lang.String getOccurrenceResourceUri() { } } /** + * + * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for occurrenceResourceUri. */ - public com.google.protobuf.ByteString - getOccurrenceResourceUriBytes() { + public com.google.protobuf.ByteString getOccurrenceResourceUriBytes() { java.lang.Object ref = occurrenceResourceUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); occurrenceResourceUri_ = b; return b; } else { @@ -8092,30 +9593,37 @@ public java.lang.String getOccurrenceResourceUri() { } } /** + * + * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The occurrenceResourceUri to set. * @return This builder for chaining. */ - public Builder setOccurrenceResourceUri( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOccurrenceResourceUri(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } occurrenceResourceUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOccurrenceResourceUri() { @@ -8125,24 +9633,29 @@ public Builder clearOccurrenceResourceUri() { return this; } /** + * + * *
        * Required. The URI of the artifact (e.g. container image) that is the
        * subject of the containing [Occurrence][grafeas.v1.Occurrence].
        * 
* * string occurrence_resource_uri = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for occurrenceResourceUri to set. * @return This builder for chaining. */ - public Builder setOccurrenceResourceUriBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOccurrenceResourceUriBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); occurrenceResourceUri_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -8155,41 +9668,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceRequest) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAttestationOccurrenceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAttestationOccurrenceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8201,56 +9721,77 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ValidateAttestationOccurrenceResponseOrBuilder extends + public interface ValidateAttestationOccurrenceResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The result of the Attestation validation.
      * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** + * + * *
      * The result of the Attestation validation.
      * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @return The result. */ - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result getResult(); + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result + getResult(); /** + * + * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; + * * @return The denialReason. */ java.lang.String getDenialReason(); /** + * + * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; + * * @return The bytes for denialReason. */ - com.google.protobuf.ByteString - getDenialReasonBytes(); + com.google.protobuf.ByteString getDenialReasonBytes(); } /** + * + * *
    * Response message for
    * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
@@ -8258,15 +9799,18 @@ public interface ValidateAttestationOccurrenceResponseOrBuilder extends
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse}
    */
-  public static final class ValidateAttestationOccurrenceResponse extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ValidateAttestationOccurrenceResponse
+      extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse)
       ValidateAttestationOccurrenceResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ValidateAttestationOccurrenceResponse.newBuilder() to construct.
-    private ValidateAttestationOccurrenceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+    private ValidateAttestationOccurrenceResponse(
+        com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ValidateAttestationOccurrenceResponse() {
       result_ = 0;
       denialReason_ = "";
@@ -8274,34 +9818,41 @@ private ValidateAttestationOccurrenceResponse() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ValidateAttestationOccurrenceResponse();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service
+          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable
+      return com.google.protos.google.cloud.binaryauthorization.v1.Service
+          .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Builder.class);
+              com.google.protos.google.cloud.binaryauthorization.v1.Service
+                  .ValidateAttestationOccurrenceResponse.class,
+              com.google.protos.google.cloud.binaryauthorization.v1.Service
+                  .ValidateAttestationOccurrenceResponse.Builder.class);
     }
 
     /**
+     *
+     *
      * 
      * The enum returned in the "result" field.
      * 
* - * Protobuf enum {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result} + * Protobuf enum {@code + * google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result} */ - public enum Result - implements com.google.protobuf.ProtocolMessageEnum { + public enum Result implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -8310,6 +9861,8 @@ public enum Result */ RESULT_UNSPECIFIED(0), /** + * + * *
        * The Attestation was able to verified by the Attestor.
        * 
@@ -8318,6 +9871,8 @@ public enum Result */ VERIFIED(1), /** + * + * *
        * The Attestation was not able to verified by the Attestor.
        * 
@@ -8329,6 +9884,8 @@ public enum Result ; /** + * + * *
        * Unspecified.
        * 
@@ -8337,6 +9894,8 @@ public enum Result */ public static final int RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The Attestation was able to verified by the Attestor.
        * 
@@ -8345,6 +9904,8 @@ public enum Result */ public static final int VERIFIED_VALUE = 1; /** + * + * *
        * The Attestation was not able to verified by the Attestor.
        * 
@@ -8353,7 +9914,6 @@ public enum Result */ public static final int ATTESTATION_NOT_VERIFIABLE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -8378,49 +9938,52 @@ public static Result valueOf(int value) { */ public static Result forNumber(int value) { switch (value) { - case 0: return RESULT_UNSPECIFIED; - case 1: return VERIFIED; - case 2: return ATTESTATION_NOT_VERIFIABLE; - default: return null; + case 0: + return RESULT_UNSPECIFIED; + case 1: + return VERIFIED; + case 2: + return ATTESTATION_NOT_VERIFIABLE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Result> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Result findValueByNumber(int number) { - return Result.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 Result findValueByNumber(int number) { + return Result.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.getDescriptor() + .getEnumTypes() + .get(0); } private static final Result[] VALUES = values(); - public static Result valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Result 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; @@ -8440,38 +10003,63 @@ private Result(int value) { public static final int RESULT_FIELD_NUMBER = 1; private int result_ = 0; /** + * + * *
      * The result of the Attestation validation.
      * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
      * The result of the Attestation validation.
      * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @return The result. */ - @java.lang.Override public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result getResult() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result result = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.forNumber(result_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED : result; + @java.lang.Override + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result + getResult() { + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result + result = + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result.forNumber(result_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED + : result; } public static final int DENIAL_REASON_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object denialReason_ = ""; /** + * + * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; + * * @return The denialReason. */ @java.lang.Override @@ -8480,29 +10068,29 @@ public java.lang.String getDenialReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denialReason_ = s; return s; } } /** + * + * *
      * The reason for denial if the Attestation couldn't be validated.
      * 
* * string denial_reason = 2; + * * @return The bytes for denialReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getDenialReasonBytes() { + public com.google.protobuf.ByteString getDenialReasonBytes() { java.lang.Object ref = denialReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); denialReason_ = b; return b; } else { @@ -8511,6 +10099,7 @@ public java.lang.String getDenialReason() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8522,9 +10111,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (result_ != com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (result_ + != com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED + .getNumber()) { output.writeEnum(1, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(denialReason_)) { @@ -8539,9 +10130,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (result_ != com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, result_); + if (result_ + != com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result.RESULT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(denialReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, denialReason_); @@ -8554,16 +10147,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.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse)) { + if (!(obj + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse)) { return super.equals(obj); } - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse other = (com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse) obj; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + other = + (com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse) + obj; if (result_ != other.result_) return false; - if (!getDenialReason() - .equals(other.getDenialReason())) return false; + if (!getDenialReason().equals(other.getDenialReason())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -8584,90 +10184,115 @@ public int hashCode() { return hash; } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse prototype) { + + public static Builder newBuilder( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -8677,40 +10302,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Response message for
      * [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence].
      * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.class, com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Builder.class); + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.class, + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Builder.class); } - // Construct using com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -8721,19 +10353,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDefaultInstance(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + getDefaultInstanceForType() { + return com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.getDefaultInstance(); } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse build() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse result = buildPartial(); + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + build() { + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8741,14 +10380,25 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAtt } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse buildPartial() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse result = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + buildPartial() { + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + result = + new com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse result) { + private void buildPartial0( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.result_ = result_; @@ -8762,46 +10412,60 @@ private void buildPartial0(com.google.protos.google.cloud.binaryauthorization.v1 public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse) { - return mergeFrom((com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse)other); + if (other + instanceof + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse) { + return mergeFrom( + (com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse other) { - if (other == com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + other) { + if (other + == com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.getDefaultInstance()) return this; if (other.result_ != 0) { setResultValue(other.getResultValue()); } @@ -8836,22 +10500,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - result_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - denialReason_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + result_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + denialReason_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8861,26 +10528,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int result_ = 0; /** + * + * *
        * The result of the Attestation validation.
        * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
        * The result of the Attestation validation.
        * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -8891,28 +10570,50 @@ public Builder setResultValue(int value) { return this; } /** + * + * *
        * The result of the Attestation validation.
        * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @return The result. */ @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result getResult() { - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result result = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.forNumber(result_); - return result == null ? com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED : result; + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result + getResult() { + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result + result = + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result.forNumber(result_); + return result == null + ? com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result.UNRECOGNIZED + : result; } /** + * + * *
        * The result of the Attestation validation.
        * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.Result value) { + public Builder setResult( + com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse.Result + value) { if (value == null) { throw new NullPointerException(); } @@ -8922,11 +10623,16 @@ public Builder setResult(com.google.protos.google.cloud.binaryauthorization.v1.S return this; } /** + * + * *
        * The result of the Attestation validation.
        * 
* - * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * .google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse.Result result = 1; + * + * * @return This builder for chaining. */ public Builder clearResult() { @@ -8938,18 +10644,20 @@ public Builder clearResult() { private java.lang.Object denialReason_ = ""; /** + * + * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; + * * @return The denialReason. */ public java.lang.String getDenialReason() { java.lang.Object ref = denialReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); denialReason_ = s; return s; @@ -8958,20 +10666,21 @@ public java.lang.String getDenialReason() { } } /** + * + * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; + * * @return The bytes for denialReason. */ - public com.google.protobuf.ByteString - getDenialReasonBytes() { + public com.google.protobuf.ByteString getDenialReasonBytes() { java.lang.Object ref = denialReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); denialReason_ = b; return b; } else { @@ -8979,28 +10688,35 @@ public java.lang.String getDenialReason() { } } /** + * + * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; + * * @param value The denialReason to set. * @return This builder for chaining. */ - public Builder setDenialReason( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDenialReason(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } denialReason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; + * * @return This builder for chaining. */ public Builder clearDenialReason() { @@ -9010,23 +10726,28 @@ public Builder clearDenialReason() { return this; } /** + * + * *
        * The reason for denial if the Attestation couldn't be validated.
        * 
* * string denial_reason = 2; + * * @param value The bytes for denialReason to set. * @return This builder for chaining. */ - public Builder setDenialReasonBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDenialReasonBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); denialReason_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9039,41 +10760,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse) - private static final com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse DEFAULT_INSTANCE; + private static final com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse(); + DEFAULT_INSTANCE = + new com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse(); } - public static com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse getDefaultInstance() { + public static com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValidateAttestationOccurrenceResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValidateAttestationOccurrenceResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9085,256 +10813,269 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse getDefaultInstanceForType() { + public com.google.protos.google.cloud.binaryauthorization.v1.Service + .ValidateAttestationOccurrenceResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable; - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { java.lang.String[] descriptorData = { - "\n1google/cloud/binaryauthorization/v1/se" + - "rvice.proto\022#google.cloud.binaryauthoriz" + - "ation.v1\032\034google/api/annotations.proto\032\027" + - "google/api/client.proto\032\037google/api/fiel" + - "d_behavior.proto\032\031google/api/resource.pr" + - "oto\0323google/cloud/binaryauthorization/v1" + - "/resources.proto\032\033google/protobuf/empty." + - "proto\032\034grafeas/v1/attestation.proto\"T\n\020G" + - "etPolicyRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)" + - "binaryauthorization.googleapis.com/Polic" + - "y\"X\n\023UpdatePolicyRequest\022A\n\006policy\030\001 \001(\013" + - "2+.google.cloud.binaryauthorization.v1.P" + - "olicyB\004\342A\001\002\"\277\001\n\025CreateAttestorRequest\022D\n" + - "\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourceman" + - "ager.googleapis.com/Project\022\031\n\013attestor_" + - "id\030\002 \001(\tB\004\342A\001\002\022E\n\010attestor\030\003 \001(\0132-.googl" + - "e.cloud.binaryauthorization.v1.AttestorB" + - "\004\342A\001\002\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(" + - "\tB4\342A\001\002\372A-\n+binaryauthorization.googleap" + - "is.com/Attestor\"^\n\025UpdateAttestorRequest" + - "\022E\n\010attestor\030\001 \001(\0132-.google.cloud.binary" + - "authorization.v1.AttestorB\004\342A\001\002\"\203\001\n\024List" + - "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A" + - "-\n+cloudresourcemanager.googleapis.com/P" + - "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + - "\003 \001(\t\"r\n\025ListAttestorsResponse\022@\n\tattest" + - "ors\030\001 \003(\0132-.google.cloud.binaryauthoriza" + - "tion.v1.Attestor\022\027\n\017next_page_token\030\002 \001(" + - "\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030\001 \001(\t" + - "B4\342A\001\002\372A-\n+binaryauthorization.googleapi" + - "s.com/Attestor\"Z\n\026GetSystemPolicyRequest" + - "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza" + - "tion.googleapis.com/Policy\"\302\001\n$ValidateA" + - "ttestationOccurrenceRequest\022\026\n\010attestor\030" + - "\001 \001(\tB\004\342A\001\002\022<\n\013attestation\030\002 \001(\0132!.grafe" + - "as.v1.AttestationOccurrenceB\004\342A\001\002\022\035\n\017occ" + - "urrence_note\030\003 \001(\tB\004\342A\001\002\022%\n\027occurrence_r" + - "esource_uri\030\004 \001(\tB\004\342A\001\002\"\361\001\n%ValidateAtte" + - "stationOccurrenceResponse\022a\n\006result\030\001 \001(" + - "\0162Q.google.cloud.binaryauthorization.v1." + - "ValidateAttestationOccurrenceResponse.Re" + - "sult\022\025\n\rdenial_reason\030\002 \001(\t\"N\n\006Result\022\026\n" + - "\022RESULT_UNSPECIFIED\020\000\022\014\n\010VERIFIED\020\001\022\036\n\032A" + - "TTESTATION_NOT_VERIFIABLE\020\0022\342\n\n\033Binauthz" + - "ManagementServiceV1\022\234\001\n\tGetPolicy\0225.goog" + - "le.cloud.binaryauthorization.v1.GetPolic" + - "yRequest\032+.google.cloud.binaryauthorizat" + - "ion.v1.Policy\"+\332A\004name\202\323\344\223\002\036\022\034/v1/{name=" + - "projects/*/policy}\022\263\001\n\014UpdatePolicy\0228.go" + - "ogle.cloud.binaryauthorization.v1.Update" + - "PolicyRequest\032+.google.cloud.binaryautho" + - "rization.v1.Policy\"<\332A\006policy\202\323\344\223\002-\032#/v1" + - "/{policy.name=projects/*/policy}:\006policy" + - "\022\316\001\n\016CreateAttestor\022:.google.cloud.binar" + - "yauthorization.v1.CreateAttestorRequest\032" + - "-.google.cloud.binaryauthorization.v1.At" + - "testor\"Q\332A\033parent,attestor_id,attestor\202\323" + - "\344\223\002-\"!/v1/{parent=projects/*}/attestors:" + - "\010attestor\022\247\001\n\013GetAttestor\0227.google.cloud" + - ".binaryauthorization.v1.GetAttestorReque" + - "st\032-.google.cloud.binaryauthorization.v1" + - ".Attestor\"0\332A\004name\202\323\344\223\002#\022!/v1/{name=proj" + - "ects/*/attestors/*}\022\304\001\n\016UpdateAttestor\022:" + - ".google.cloud.binaryauthorization.v1.Upd" + - "ateAttestorRequest\032-.google.cloud.binary" + - "authorization.v1.Attestor\"G\332A\010attestor\202\323" + - "\344\223\0026\032*/v1/{attestor.name=projects/*/atte" + - "stors/*}:\010attestor\022\272\001\n\rListAttestors\0229.g" + - "oogle.cloud.binaryauthorization.v1.ListA" + - "ttestorsRequest\032:.google.cloud.binaryaut" + - "horization.v1.ListAttestorsResponse\"2\332A\006" + - "parent\202\323\344\223\002#\022!/v1/{parent=projects/*}/at" + - "testors\022\226\001\n\016DeleteAttestor\022:.google.clou" + - "d.binaryauthorization.v1.DeleteAttestorR" + - "equest\032\026.google.protobuf.Empty\"0\332A\004name\202" + - "\323\344\223\002#*!/v1/{name=projects/*/attestors/*}" + - "\032V\312A\"binaryauthorization.googleapis.com\322" + - "A.https://www.googleapis.com/auth/cloud-" + - "platform2\224\002\n\016SystemPolicyV1\022\251\001\n\017GetSyste" + - "mPolicy\022;.google.cloud.binaryauthorizati" + - "on.v1.GetSystemPolicyRequest\032+.google.cl" + - "oud.binaryauthorization.v1.Policy\",\332A\004na" + - "me\202\323\344\223\002\037\022\035/v1/{name=locations/*/policy}\032" + - "V\312A\"binaryauthorization.googleapis.com\322A" + - ".https://www.googleapis.com/auth/cloud-p" + - "latform2\365\002\n\022ValidationHelperV1\022\206\002\n\035Valid" + - "ateAttestationOccurrence\022I.google.cloud." + - "binaryauthorization.v1.ValidateAttestati" + - "onOccurrenceRequest\032J.google.cloud.binar" + - "yauthorization.v1.ValidateAttestationOcc" + - "urrenceResponse\"N\202\323\344\223\002H\"C/v1/{attestor=p" + - "rojects/*/attestors/*}:validateAttestati" + - "onOccurrence:\001*\032V\312A\"binaryauthorization." + - "googleapis.com\322A.https://www.googleapis." + - "com/auth/cloud-platformB\214\002\n5com.google.p" + - "rotos.google.cloud.binaryauthorization.v" + - "1P\000ZYcloud.google.com/go/binaryauthoriza" + - "tion/apiv1/binaryauthorizationpb;binarya" + - "uthorizationpb\370\001\001\252\002#Google.Cloud.BinaryA" + - "uthorization.V1\312\002#Google\\Cloud\\BinaryAut" + - "horization\\V1\352\002&Google::Cloud::BinaryAut" + - "horization::V1b\006proto3" + "\n1google/cloud/binaryauthorization/v1/se" + + "rvice.proto\022#google.cloud.binaryauthoriz" + + "ation.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\032\037google/api/fiel" + + "d_behavior.proto\032\031google/api/resource.pr" + + "oto\0323google/cloud/binaryauthorization/v1" + + "/resources.proto\032\033google/protobuf/empty." + + "proto\032\034grafeas/v1/attestation.proto\"T\n\020G" + + "etPolicyRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)" + + "binaryauthorization.googleapis.com/Polic" + + "y\"X\n\023UpdatePolicyRequest\022A\n\006policy\030\001 \001(\013" + + "2+.google.cloud.binaryauthorization.v1.P" + + "olicyB\004\342A\001\002\"\277\001\n\025CreateAttestorRequest\022D\n" + + "\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourceman" + + "ager.googleapis.com/Project\022\031\n\013attestor_" + + "id\030\002 \001(\tB\004\342A\001\002\022E\n\010attestor\030\003 \001(\0132-.googl" + + "e.cloud.binaryauthorization.v1.AttestorB" + + "\004\342A\001\002\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(" + + "\tB4\342A\001\002\372A-\n+binaryauthorization.googleap" + + "is.com/Attestor\"^\n\025UpdateAttestorRequest" + + "\022E\n\010attestor\030\001 \001(\0132-.google.cloud.binary" + + "authorization.v1.AttestorB\004\342A\001\002\"\203\001\n\024List" + + "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A" + + "-\n+cloudresourcemanager.googleapis.com/P" + + "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"r\n\025ListAttestorsResponse\022@\n\tattest" + + "ors\030\001 \003(\0132-.google.cloud.binaryauthoriza" + + "tion.v1.Attestor\022\027\n\017next_page_token\030\002 \001(" + + "\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030\001 \001(\t" + + "B4\342A\001\002\372A-\n+binaryauthorization.googleapi" + + "s.com/Attestor\"Z\n\026GetSystemPolicyRequest" + + "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza" + + "tion.googleapis.com/Policy\"\302\001\n$ValidateA" + + "ttestationOccurrenceRequest\022\026\n\010attestor\030" + + "\001 \001(\tB\004\342A\001\002\022<\n\013attestation\030\002 \001(\0132!.grafe" + + "as.v1.AttestationOccurrenceB\004\342A\001\002\022\035\n\017occ" + + "urrence_note\030\003 \001(\tB\004\342A\001\002\022%\n\027occurrence_r" + + "esource_uri\030\004 \001(\tB\004\342A\001\002\"\361\001\n%ValidateAtte" + + "stationOccurrenceResponse\022a\n\006result\030\001 \001(" + + "\0162Q.google.cloud.binaryauthorization.v1." + + "ValidateAttestationOccurrenceResponse.Re" + + "sult\022\025\n\rdenial_reason\030\002 \001(\t\"N\n\006Result\022\026\n" + + "\022RESULT_UNSPECIFIED\020\000\022\014\n\010VERIFIED\020\001\022\036\n\032A" + + "TTESTATION_NOT_VERIFIABLE\020\0022\342\n\n\033Binauthz" + + "ManagementServiceV1\022\234\001\n\tGetPolicy\0225.goog" + + "le.cloud.binaryauthorization.v1.GetPolic" + + "yRequest\032+.google.cloud.binaryauthorizat" + + "ion.v1.Policy\"+\332A\004name\202\323\344\223\002\036\022\034/v1/{name=" + + "projects/*/policy}\022\263\001\n\014UpdatePolicy\0228.go" + + "ogle.cloud.binaryauthorization.v1.Update" + + "PolicyRequest\032+.google.cloud.binaryautho" + + "rization.v1.Policy\"<\332A\006policy\202\323\344\223\002-\032#/v1" + + "/{policy.name=projects/*/policy}:\006policy" + + "\022\316\001\n\016CreateAttestor\022:.google.cloud.binar" + + "yauthorization.v1.CreateAttestorRequest\032" + + "-.google.cloud.binaryauthorization.v1.At" + + "testor\"Q\332A\033parent,attestor_id,attestor\202\323" + + "\344\223\002-\"!/v1/{parent=projects/*}/attestors:" + + "\010attestor\022\247\001\n\013GetAttestor\0227.google.cloud" + + ".binaryauthorization.v1.GetAttestorReque" + + "st\032-.google.cloud.binaryauthorization.v1" + + ".Attestor\"0\332A\004name\202\323\344\223\002#\022!/v1/{name=proj" + + "ects/*/attestors/*}\022\304\001\n\016UpdateAttestor\022:" + + ".google.cloud.binaryauthorization.v1.Upd" + + "ateAttestorRequest\032-.google.cloud.binary" + + "authorization.v1.Attestor\"G\332A\010attestor\202\323" + + "\344\223\0026\032*/v1/{attestor.name=projects/*/atte" + + "stors/*}:\010attestor\022\272\001\n\rListAttestors\0229.g" + + "oogle.cloud.binaryauthorization.v1.ListA" + + "ttestorsRequest\032:.google.cloud.binaryaut" + + "horization.v1.ListAttestorsResponse\"2\332A\006" + + "parent\202\323\344\223\002#\022!/v1/{parent=projects/*}/at" + + "testors\022\226\001\n\016DeleteAttestor\022:.google.clou" + + "d.binaryauthorization.v1.DeleteAttestorR" + + "equest\032\026.google.protobuf.Empty\"0\332A\004name\202" + + "\323\344\223\002#*!/v1/{name=projects/*/attestors/*}" + + "\032V\312A\"binaryauthorization.googleapis.com\322" + + "A.https://www.googleapis.com/auth/cloud-" + + "platform2\224\002\n\016SystemPolicyV1\022\251\001\n\017GetSyste" + + "mPolicy\022;.google.cloud.binaryauthorizati" + + "on.v1.GetSystemPolicyRequest\032+.google.cl" + + "oud.binaryauthorization.v1.Policy\",\332A\004na" + + "me\202\323\344\223\002\037\022\035/v1/{name=locations/*/policy}\032" + + "V\312A\"binaryauthorization.googleapis.com\322A" + + ".https://www.googleapis.com/auth/cloud-p" + + "latform2\365\002\n\022ValidationHelperV1\022\206\002\n\035Valid" + + "ateAttestationOccurrence\022I.google.cloud." + + "binaryauthorization.v1.ValidateAttestati" + + "onOccurrenceRequest\032J.google.cloud.binar" + + "yauthorization.v1.ValidateAttestationOcc" + + "urrenceResponse\"N\202\323\344\223\002H\"C/v1/{attestor=p" + + "rojects/*/attestors/*}:validateAttestati" + + "onOccurrence:\001*\032V\312A\"binaryauthorization." + + "googleapis.com\322A.https://www.googleapis." + + "com/auth/cloud-platformB\214\002\n5com.google.p" + + "rotos.google.cloud.binaryauthorization.v" + + "1P\000ZYcloud.google.com/go/binaryauthoriza" + + "tion/apiv1/binaryauthorizationpb;binarya" + + "uthorizationpb\370\001\001\252\002#Google.Cloud.BinaryA" + + "uthorization.V1\312\002#Google\\Cloud\\BinaryAut" + + "horization\\V1\352\002&Google::Cloud::BinaryAut" + + "horization::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.ResourceProto.getDescriptor(), - com.google.protos.google.cloud.binaryauthorization.v1.Resources.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - io.grafeas.v1.Attestation.getDescriptor(), - }); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protos.google.cloud.binaryauthorization.v1.Resources.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + io.grafeas.v1.Attestation.getDescriptor(), + }); internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_GetPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor, - new java.lang.String[] { "Policy", }); + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_UpdatePolicyRequest_descriptor, + new java.lang.String[] { + "Policy", + }); internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor, - new java.lang.String[] { "Parent", "AttestorId", "Attestor", }); + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_CreateAttestorRequest_descriptor, + new java.lang.String[] { + "Parent", "AttestorId", "Attestor", + }); internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_GetAttestorRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor, - new java.lang.String[] { "Attestor", }); + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_UpdateAttestorRequest_descriptor, + new java.lang.String[] { + "Attestor", + }); internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor, - new java.lang.String[] { "Attestors", "NextPageToken", }); + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ListAttestorsResponse_descriptor, + new java.lang.String[] { + "Attestors", "NextPageToken", + }); internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_DeleteAttestorRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor, - new java.lang.String[] { "Name", }); + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_GetSystemPolicyRequest_descriptor, + new java.lang.String[] { + "Name", + }); internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor, - new java.lang.String[] { "Attestor", "Attestation", "OccurrenceNote", "OccurrenceResourceUri", }); + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceRequest_descriptor, + new java.lang.String[] { + "Attestor", "Attestation", "OccurrenceNote", "OccurrenceResourceUri", + }); internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor, - new java.lang.String[] { "Result", "DenialReason", }); + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1_ValidateAttestationOccurrenceResponse_descriptor, + new java.lang.String[] { + "Result", "DenialReason", + }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -9343,8 +11084,8 @@ public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAtt 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.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); diff --git a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/resources.proto diff --git a/owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1/src/main/proto/google/cloud/binaryauthorization/v1/service.proto diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java similarity index 68% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java index 96b202c5c99b..d845448cfbf4 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRule.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * An [admission rule][google.cloud.binaryauthorization.v1beta1.AdmissionRule] specifies either that all container images
  * used in a pod creation request must be attested to by one or more
@@ -16,48 +33,48 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule}
  */
-public final class AdmissionRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AdmissionRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.AdmissionRule)
     AdmissionRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AdmissionRule.newBuilder() to construct.
   private AdmissionRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AdmissionRule() {
     evaluationMode_ = 0;
-    requireAttestationsBy_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
     enforcementMode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AdmissionRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class,
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
   }
 
-  /**
-   * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode}
-   */
-  public enum EvaluationMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  /** Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode} */
+  public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Do not use.
      * 
@@ -66,6 +83,8 @@ public enum EvaluationMode */ EVALUATION_MODE_UNSPECIFIED(0), /** + * + * *
      * This rule allows all all pod creations.
      * 
@@ -74,6 +93,8 @@ public enum EvaluationMode */ ALWAYS_ALLOW(1), /** + * + * *
      * This rule allows a pod creation if all the attestors listed in
      * `require_attestations_by` have valid attestations for all of the
@@ -84,6 +105,8 @@ public enum EvaluationMode
      */
     REQUIRE_ATTESTATION(2),
     /**
+     *
+     *
      * 
      * This rule denies all pod creations.
      * 
@@ -95,6 +118,8 @@ public enum EvaluationMode ; /** + * + * *
      * Do not use.
      * 
@@ -103,6 +128,8 @@ public enum EvaluationMode */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This rule allows all all pod creations.
      * 
@@ -111,6 +138,8 @@ public enum EvaluationMode */ public static final int ALWAYS_ALLOW_VALUE = 1; /** + * + * *
      * This rule allows a pod creation if all the attestors listed in
      * `require_attestations_by` have valid attestations for all of the
@@ -121,6 +150,8 @@ public enum EvaluationMode
      */
     public static final int REQUIRE_ATTESTATION_VALUE = 2;
     /**
+     *
+     *
      * 
      * This rule denies all pod creations.
      * 
@@ -129,7 +160,6 @@ public enum EvaluationMode */ public static final int ALWAYS_DENY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -154,50 +184,53 @@ public static EvaluationMode valueOf(int value) { */ public static EvaluationMode forNumber(int value) { switch (value) { - case 0: return EVALUATION_MODE_UNSPECIFIED; - case 1: return ALWAYS_ALLOW; - case 2: return REQUIRE_ATTESTATION; - case 3: return ALWAYS_DENY; - default: return null; + case 0: + return EVALUATION_MODE_UNSPECIFIED; + case 1: + return ALWAYS_ALLOW; + case 2: + return REQUIRE_ATTESTATION; + case 3: + return ALWAYS_DENY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EvaluationMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EvaluationMode findValueByNumber(int number) { - return EvaluationMode.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 EvaluationMode findValueByNumber(int number) { + return EvaluationMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor() + .getEnumTypes() + .get(0); } private static final EvaluationMode[] VALUES = values(); - public static EvaluationMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EvaluationMode 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; @@ -215,6 +248,8 @@ private EvaluationMode(int value) { } /** + * + * *
    * Defines the possible actions when a pod creation is denied by an admission
    * rule.
@@ -222,9 +257,10 @@ private EvaluationMode(int value) {
    *
    * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode}
    */
-  public enum EnforcementMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum EnforcementMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Do not use.
      * 
@@ -233,6 +269,8 @@ public enum EnforcementMode */ ENFORCEMENT_MODE_UNSPECIFIED(0), /** + * + * *
      * Enforce the admission rule by blocking the pod creation.
      * 
@@ -241,6 +279,8 @@ public enum EnforcementMode */ ENFORCED_BLOCK_AND_AUDIT_LOG(1), /** + * + * *
      * Dryrun mode: Audit logging only.  This will allow the pod creation as if
      * the admission request had specified break-glass.
@@ -253,6 +293,8 @@ public enum EnforcementMode
     ;
 
     /**
+     *
+     *
      * 
      * Do not use.
      * 
@@ -261,6 +303,8 @@ public enum EnforcementMode */ public static final int ENFORCEMENT_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Enforce the admission rule by blocking the pod creation.
      * 
@@ -269,6 +313,8 @@ public enum EnforcementMode */ public static final int ENFORCED_BLOCK_AND_AUDIT_LOG_VALUE = 1; /** + * + * *
      * Dryrun mode: Audit logging only.  This will allow the pod creation as if
      * the admission request had specified break-glass.
@@ -278,7 +324,6 @@ public enum EnforcementMode
      */
     public static final int DRYRUN_AUDIT_LOG_ONLY_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -303,40 +348,45 @@ public static EnforcementMode valueOf(int value) {
      */
     public static EnforcementMode forNumber(int value) {
       switch (value) {
-        case 0: return ENFORCEMENT_MODE_UNSPECIFIED;
-        case 1: return ENFORCED_BLOCK_AND_AUDIT_LOG;
-        case 2: return DRYRUN_AUDIT_LOG_ONLY;
-        default: return null;
+        case 0:
+          return ENFORCEMENT_MODE_UNSPECIFIED;
+        case 1:
+          return ENFORCED_BLOCK_AND_AUDIT_LOG;
+        case 2:
+          return DRYRUN_AUDIT_LOG_ONLY;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        EnforcementMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public EnforcementMode findValueByNumber(int number) {
-              return EnforcementMode.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 EnforcementMode findValueByNumber(int number) {
+                return EnforcementMode.forNumber(number);
+              }
+            };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final EnforcementMode[] VALUES = values();
@@ -344,8 +394,7 @@ public EnforcementMode findValueByNumber(int number) {
     public static EnforcementMode 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;
@@ -365,34 +414,54 @@ private EnforcementMode(int value) {
   public static final int EVALUATION_MODE_FIELD_NUMBER = 1;
   private int evaluationMode_ = 0;
   /**
+   *
+   *
    * 
    * Required. How this admission rule will be evaluated.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
    * Required. How this admission rule will be evaluated.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The evaluationMode. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode getEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode + getEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber( + evaluationMode_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED + : result; } public static final int REQUIRE_ATTESTATIONS_BY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -404,14 +473,17 @@ private EnforcementMode(int value) {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList - getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { return requireAttestationsBy_; } /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -423,13 +495,17 @@ private EnforcementMode(int value) {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -441,7 +517,9 @@ public int getRequireAttestationsByCount() {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -449,6 +527,8 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -460,42 +540,61 @@ public java.lang.String getRequireAttestationsBy(int index) {
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString - getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } public static final int ENFORCEMENT_MODE_FIELD_NUMBER = 3; private int enforcementMode_ = 0; /** + * + * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override public int getEnforcementModeValue() { + @java.lang.Override + public int getEnforcementModeValue() { return enforcementMode_; } /** + * + * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enforcementMode. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode getEnforcementMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode + getEnforcementMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber( + enforcementMode_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,15 +606,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (evaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (evaluationMode_ + != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, evaluationMode_); } for (int i = 0; i < requireAttestationsBy_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requireAttestationsBy_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, requireAttestationsBy_.getRaw(i)); } - if (enforcementMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { + if (enforcementMode_ + != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode + .ENFORCEMENT_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, enforcementMode_); } getUnknownFields().writeTo(output); @@ -527,9 +632,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (evaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, evaluationMode_); + if (evaluationMode_ + != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, evaluationMode_); } { int dataSize = 0; @@ -539,9 +646,11 @@ public int getSerializedSize() { size += dataSize; size += 1 * getRequireAttestationsByList().size(); } - if (enforcementMode_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.ENFORCEMENT_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, enforcementMode_); + if (enforcementMode_ + != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode + .ENFORCEMENT_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, enforcementMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -551,16 +660,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.binaryauthorization.v1beta1.AdmissionRule)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule other = (com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) obj; + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule other = + (com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) obj; if (evaluationMode_ != other.evaluationMode_) return false; - if (!getRequireAttestationsByList() - .equals(other.getRequireAttestationsByList())) return false; + if (!getRequireAttestationsByList().equals(other.getRequireAttestationsByList())) return false; if (enforcementMode_ != other.enforcementMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -587,98 +696,104 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [admission rule][google.cloud.binaryauthorization.v1beta1.AdmissionRule] specifies either that all container images
    * used in a pod creation request must be attested to by one or more
@@ -691,48 +806,46 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionRule}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.AdmissionRule)
       com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.class,
+              com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
       evaluationMode_ = 0;
-      requireAttestationsBy_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList();
       enforcementMode_ = 0;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
     }
 
     @java.lang.Override
@@ -751,8 +864,11 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.AdmissionRule result = new com.google.cloud.binaryauthorization.v1beta1.AdmissionRule(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.binaryauthorization.v1beta1.AdmissionRule result =
+          new com.google.cloud.binaryauthorization.v1beta1.AdmissionRule(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -775,38 +891,39 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Admissio
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AdmissionRule)other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AdmissionRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -814,7 +931,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()) return this;
+      if (other == com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance())
+        return this;
       if (other.evaluationMode_ != 0) {
         setEvaluationModeValue(other.getEvaluationModeValue());
       }
@@ -857,28 +975,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              evaluationMode_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureRequireAttestationsByIsMutable();
-              requireAttestationsBy_.add(s);
-              break;
-            } // case 18
-            case 24: {
-              enforcementMode_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                evaluationMode_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureRequireAttestationsByIsMutable();
+                requireAttestationsBy_.add(s);
+                break;
+              } // case 18
+            case 24:
+              {
+                enforcementMode_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -888,26 +1010,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int evaluationMode_ = 0;
     /**
+     *
+     *
      * 
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ @@ -918,28 +1052,44 @@ public Builder setEvaluationModeValue(int value) { return this; } /** + * + * *
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The evaluationMode. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode getEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber(evaluationMode_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode + getEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode result = + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.forNumber( + evaluationMode_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode.UNRECOGNIZED + : result; } /** + * + * *
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode value) { + public Builder setEvaluationMode( + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } @@ -949,11 +1099,16 @@ public Builder setEvaluationMode(com.google.cloud.binaryauthorization.v1beta1.Ad return this; } /** + * + * *
      * Required. How this admission rule will be evaluated.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEvaluationMode() { @@ -965,13 +1120,17 @@ public Builder clearEvaluationMode() { private com.google.protobuf.LazyStringArrayList requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRequireAttestationsByIsMutable() { if (!requireAttestationsBy_.isModifiable()) { - requireAttestationsBy_ = new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); + requireAttestationsBy_ = + new com.google.protobuf.LazyStringArrayList(requireAttestationsBy_); } bitField0_ |= 0x00000002; } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -983,15 +1142,18 @@ private void ensureRequireAttestationsByIsMutable() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requireAttestationsBy. */ - public com.google.protobuf.ProtocolStringList - getRequireAttestationsByList() { + public com.google.protobuf.ProtocolStringList getRequireAttestationsByList() { requireAttestationsBy_.makeImmutable(); return requireAttestationsBy_; } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1003,13 +1165,17 @@ private void ensureRequireAttestationsByIsMutable() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requireAttestationsBy. */ public int getRequireAttestationsByCount() { return requireAttestationsBy_.size(); } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1021,7 +1187,9 @@ public int getRequireAttestationsByCount() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ @@ -1029,6 +1197,8 @@ public java.lang.String getRequireAttestationsBy(int index) { return requireAttestationsBy_.get(index); } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1040,15 +1210,18 @@ public java.lang.String getRequireAttestationsBy(int index) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - public com.google.protobuf.ByteString - getRequireAttestationsByBytes(int index) { + public com.google.protobuf.ByteString getRequireAttestationsByBytes(int index) { return requireAttestationsBy_.getByteString(index); } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1060,14 +1233,17 @@ public java.lang.String getRequireAttestationsBy(int index) {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index to set the value at. * @param value The requireAttestationsBy to set. * @return This builder for chaining. */ - public Builder setRequireAttestationsBy( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRequireAttestationsBy(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.set(index, value); bitField0_ |= 0x00000002; @@ -1075,6 +1251,8 @@ public Builder setRequireAttestationsBy( return this; } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1086,13 +1264,16 @@ public Builder setRequireAttestationsBy(
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRequireAttestationsBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); bitField0_ |= 0x00000002; @@ -1100,6 +1281,8 @@ public Builder addRequireAttestationsBy( return this; } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1111,20 +1294,22 @@ public Builder addRequireAttestationsBy(
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param values The requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addAllRequireAttestationsBy( - java.lang.Iterable values) { + public Builder addAllRequireAttestationsBy(java.lang.Iterable values) { ensureRequireAttestationsByIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, requireAttestationsBy_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, requireAttestationsBy_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1136,17 +1321,21 @@ public Builder addAllRequireAttestationsBy(
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearRequireAttestationsBy() { - requireAttestationsBy_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + requireAttestationsBy_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Optional. The resource names of the attestors that must attest to
      * a container image, in the format `projects/*/attestors/*`. Each
@@ -1158,13 +1347,16 @@ public Builder clearRequireAttestationsBy() {
      * REQUIRE_ATTESTATION, otherwise it must be empty.
      * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The bytes of the requireAttestationsBy to add. * @return This builder for chaining. */ - public Builder addRequireAttestationsByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRequireAttestationsByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRequireAttestationsByIsMutable(); requireAttestationsBy_.add(value); @@ -1175,22 +1367,33 @@ public Builder addRequireAttestationsByBytes( private int enforcementMode_ = 0; /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for enforcementMode. */ - @java.lang.Override public int getEnforcementModeValue() { + @java.lang.Override + public int getEnforcementModeValue() { return enforcementMode_; } /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for enforcementMode to set. * @return This builder for chaining. */ @@ -1201,28 +1404,44 @@ public Builder setEnforcementModeValue(int value) { return this; } /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enforcementMode. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode getEnforcementMode() { - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber(enforcementMode_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode + getEnforcementMode() { + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode result = + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.forNumber( + enforcementMode_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enforcementMode to set. * @return This builder for chaining. */ - public Builder setEnforcementMode(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode value) { + public Builder setEnforcementMode( + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode value) { if (value == null) { throw new NullPointerException(); } @@ -1232,11 +1451,16 @@ public Builder setEnforcementMode(com.google.cloud.binaryauthorization.v1beta1.A return this; } /** + * + * *
      * Required. The action when a pod creation is denied by the admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearEnforcementMode() { @@ -1245,9 +1469,9 @@ public Builder clearEnforcementMode() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1257,12 +1481,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.AdmissionRule) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.AdmissionRule) private static final com.google.cloud.binaryauthorization.v1beta1.AdmissionRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.AdmissionRule(); } @@ -1271,27 +1495,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1306,6 +1530,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java similarity index 69% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java index 18c39d501cb1..9aed79a7732e 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionRuleOrBuilder.java @@ -1,32 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface AdmissionRuleOrBuilder extends +public interface AdmissionRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.AdmissionRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. How this admission rule will be evaluated.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** + * + * *
    * Required. How this admission rule will be evaluated.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode evaluation_mode = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The evaluationMode. */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EvaluationMode getEvaluationMode(); /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -38,12 +66,15 @@ public interface AdmissionRuleOrBuilder extends
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return A list containing the requireAttestationsBy. */ - java.util.List - getRequireAttestationsByList(); + java.util.List getRequireAttestationsByList(); /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -55,11 +86,15 @@ public interface AdmissionRuleOrBuilder extends
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The count of requireAttestationsBy. */ int getRequireAttestationsByCount(); /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -71,12 +106,16 @@ public interface AdmissionRuleOrBuilder extends
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the element to return. * @return The requireAttestationsBy at the given index. */ java.lang.String getRequireAttestationsBy(int index); /** + * + * *
    * Optional. The resource names of the attestors that must attest to
    * a container image, in the format `projects/*/attestors/*`. Each
@@ -88,28 +127,39 @@ public interface AdmissionRuleOrBuilder extends
    * REQUIRE_ATTESTATION, otherwise it must be empty.
    * 
* - * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * repeated string require_attestations_by = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param index The index of the value to return. * @return The bytes of the requireAttestationsBy at the given index. */ - com.google.protobuf.ByteString - getRequireAttestationsByBytes(int index); + com.google.protobuf.ByteString getRequireAttestationsByBytes(int index); /** + * + * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for enforcementMode. */ int getEnforcementModeValue(); /** + * + * *
    * Required. The action when a pod creation is denied by the admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode enforcement_mode = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enforcementMode. */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode getEnforcementMode(); diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java similarity index 66% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java index 4823d2c8c76b..af3db8fddadb 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPattern.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * An [admission allowlist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images
  * from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule].
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern}
  */
-public final class AdmissionWhitelistPattern extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AdmissionWhitelistPattern extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern)
     AdmissionWhitelistPatternOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AdmissionWhitelistPattern.newBuilder() to construct.
   private AdmissionWhitelistPattern(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AdmissionWhitelistPattern() {
     namePattern_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AdmissionWhitelistPattern();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class,
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
   }
 
   public static final int NAME_PATTERN_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object namePattern_ = "";
   /**
+   *
+   *
    * 
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name_pattern = 1; + * * @return The namePattern. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getNamePattern() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; } } /** + * + * *
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -86,16 +110,15 @@ public java.lang.String getNamePattern() {
    * 
* * string name_pattern = 1; + * * @return The bytes for namePattern. */ @java.lang.Override - public com.google.protobuf.ByteString - getNamePatternBytes() { + public com.google.protobuf.ByteString getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namePattern_ = b; return b; } else { @@ -104,6 +127,7 @@ public java.lang.String getNamePattern() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(namePattern_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, namePattern_); } @@ -140,15 +163,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.binaryauthorization.v1beta1.AdmissionWhitelistPattern)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other = (com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) obj; + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other = + (com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) obj; - if (!getNamePattern() - .equals(other.getNamePattern())) return false; + if (!getNamePattern().equals(other.getNamePattern())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -168,98 +191,105 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.AdmissionWhitelistPattern + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [admission allowlist pattern][google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern] exempts images
    * from checks by [admission rules][google.cloud.binaryauthorization.v1beta1.AdmissionRule].
@@ -267,33 +297,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern)
       com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.class,
+              com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder.class);
     }
 
-    // Construct using com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -303,19 +333,22 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getDefaultInstanceForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance();
+    public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
+        getDefaultInstanceForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
+          .getDefaultInstance();
     }
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern build() {
-      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result = buildPartial();
+      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result =
+          buildPartial();
       if (!result.isInitialized()) {
         throw newUninitializedMessageException(result);
       }
@@ -324,13 +357,17 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern bu
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result = new com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result =
+          new com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result) {
+    private void buildPartial0(
+        com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.namePattern_ = namePattern_;
@@ -341,46 +378,51 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Admissio
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern)other);
+        return mergeFrom(
+            (com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern other) {
+      if (other
+          == com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern
+              .getDefaultInstance()) return this;
       if (!other.getNamePattern().isEmpty()) {
         namePattern_ = other.namePattern_;
         bitField0_ |= 0x00000001;
@@ -412,17 +454,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              namePattern_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                namePattern_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -432,10 +476,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object namePattern_ = "";
     /**
+     *
+     *
      * 
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -447,13 +494,13 @@ public Builder mergeFrom(
      * 
* * string name_pattern = 1; + * * @return The namePattern. */ public java.lang.String getNamePattern() { java.lang.Object ref = namePattern_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namePattern_ = s; return s; @@ -462,6 +509,8 @@ public java.lang.String getNamePattern() { } } /** + * + * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -473,15 +522,14 @@ public java.lang.String getNamePattern() {
      * 
* * string name_pattern = 1; + * * @return The bytes for namePattern. */ - public com.google.protobuf.ByteString - getNamePatternBytes() { + public com.google.protobuf.ByteString getNamePatternBytes() { java.lang.Object ref = namePattern_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namePattern_ = b; return b; } else { @@ -489,6 +537,8 @@ public java.lang.String getNamePattern() { } } /** + * + * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -500,18 +550,22 @@ public java.lang.String getNamePattern() {
      * 
* * string name_pattern = 1; + * * @param value The namePattern to set. * @return This builder for chaining. */ - public Builder setNamePattern( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamePattern(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -523,6 +577,7 @@ public Builder setNamePattern(
      * 
* * string name_pattern = 1; + * * @return This builder for chaining. */ public Builder clearNamePattern() { @@ -532,6 +587,8 @@ public Builder clearNamePattern() { return this; } /** + * + * *
      * An image name pattern to allowlist, in the form `registry/path/to/image`.
      * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -543,21 +600,23 @@ public Builder clearNamePattern() {
      * 
* * string name_pattern = 1; + * * @param value The bytes for namePattern to set. * @return This builder for chaining. */ - public Builder setNamePatternBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamePatternBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); namePattern_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -567,41 +626,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) - private static final com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern(); } - public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdmissionWhitelistPattern parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdmissionWhitelistPattern parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,9 +674,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java similarity index 67% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java index 9a40e1f22e19..715c4ef23c7b 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AdmissionWhitelistPatternOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface AdmissionWhitelistPatternOrBuilder extends +public interface AdmissionWhitelistPatternOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -19,10 +37,13 @@ public interface AdmissionWhitelistPatternOrBuilder extends
    * 
* * string name_pattern = 1; + * * @return The namePattern. */ java.lang.String getNamePattern(); /** + * + * *
    * An image name pattern to allowlist, in the form `registry/path/to/image`.
    * This supports a trailing `*` as a wildcard, but this is allowed only in
@@ -34,8 +55,8 @@ public interface AdmissionWhitelistPatternOrBuilder extends
    * 
* * string name_pattern = 1; + * * @return The bytes for namePattern. */ - com.google.protobuf.ByteString - getNamePatternBytes(); + com.google.protobuf.ByteString getNamePatternBytes(); } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java similarity index 65% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java index bd5e0a1a1dea..a21739bce68b 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Attestor.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * An [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
  * artifacts. An existing attestor cannot be modified except where
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Attestor}
  */
-public final class Attestor extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Attestor extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.Attestor)
     AttestorOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Attestor.newBuilder() to construct.
   private Attestor(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Attestor() {
     name_ = "";
     description_ = "";
@@ -28,33 +46,38 @@ private Attestor() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Attestor();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.Attestor.class, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
+            com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
   }
 
   private int attestorTypeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object attestorType_;
+
   public enum AttestorTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     USER_OWNED_DRYDOCK_NOTE(3),
     ATTESTORTYPE_NOT_SET(0);
     private final int value;
+
     private AttestorTypeCase(int value) {
       this.value = value;
     }
@@ -70,32 +93,38 @@ public static AttestorTypeCase valueOf(int value) {
 
     public static AttestorTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return USER_OWNED_DRYDOCK_NOTE;
-        case 0: return ATTESTORTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return USER_OWNED_DRYDOCK_NOTE;
+        case 0:
+          return ATTESTORTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public AttestorTypeCase
-  getAttestorTypeCase() {
-    return AttestorTypeCase.forNumber(
-        attestorTypeCase_);
+  public AttestorTypeCase getAttestorTypeCase() {
+    return AttestorTypeCase.forNumber(attestorTypeCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. The resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -104,30 +133,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 resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -136,15 +165,19 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -153,30 +186,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -186,11 +219,16 @@ public java.lang.String getDescription() { public static final int USER_OWNED_DRYDOCK_NOTE_FIELD_NUMBER = 3; /** + * + * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * * @return Whether the userOwnedDrydockNote field is set. */ @java.lang.Override @@ -198,31 +236,42 @@ public boolean hasUserOwnedDrydockNote() { return attestorTypeCase_ == 3; } /** + * + * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * * @return The userOwnedDrydockNote. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getUserOwnedDrydockNote() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + getUserOwnedDrydockNote() { if (attestorTypeCase_ == 3) { - return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; + return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } /** + * + * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder getUserOwnedDrydockNoteOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder + getUserOwnedDrydockNoteOrBuilder() { if (attestorTypeCase_ == 3) { - return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; + return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); } @@ -230,11 +279,15 @@ public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilde public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -242,11 +295,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -254,11 +311,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -266,6 +326,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,13 +338,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (attestorTypeCase_ == 3) { - output.writeMessage(3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); + output.writeMessage( + 3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); } if (updateTime_ != null) { output.writeMessage(4, getUpdateTime()); @@ -304,12 +365,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (attestorTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); @@ -322,27 +383,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.Attestor)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.Attestor other = (com.google.cloud.binaryauthorization.v1beta1.Attestor) obj; + com.google.cloud.binaryauthorization.v1beta1.Attestor other = + (com.google.cloud.binaryauthorization.v1beta1.Attestor) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (!getAttestorTypeCase().equals(other.getAttestorTypeCase())) return false; switch (attestorTypeCase_) { case 3: - if (!getUserOwnedDrydockNote() - .equals(other.getUserOwnedDrydockNote())) return false; + if (!getUserOwnedDrydockNote().equals(other.getUserOwnedDrydockNote())) return false; break; case 0: default: @@ -380,98 +438,104 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.Attestor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.Attestor prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.Attestor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] that attests to container image
    * artifacts. An existing attestor cannot be modified except where
@@ -480,33 +544,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Attestor}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.Attestor)
       com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.Attestor.class, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.Attestor.class,
+              com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.Attestor.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -527,9 +590,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
     }
 
     @java.lang.Override
@@ -548,8 +611,11 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.Attestor buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.Attestor result = new com.google.cloud.binaryauthorization.v1beta1.Attestor(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.binaryauthorization.v1beta1.Attestor result =
+          new com.google.cloud.binaryauthorization.v1beta1.Attestor(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -564,17 +630,14 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Attestor
         result.description_ = description_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.updateTime_ = updateTimeBuilder_ == null
-            ? updateTime_
-            : updateTimeBuilder_.build();
+        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.Attestor result) {
       result.attestorTypeCase_ = attestorTypeCase_;
       result.attestorType_ = this.attestorType_;
-      if (attestorTypeCase_ == 3 &&
-          userOwnedDrydockNoteBuilder_ != null) {
+      if (attestorTypeCase_ == 3 && userOwnedDrydockNoteBuilder_ != null) {
         result.attestorType_ = userOwnedDrydockNoteBuilder_.build();
       }
     }
@@ -583,38 +646,39 @@ private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.Att
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.Attestor) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Attestor)other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Attestor) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -622,7 +686,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Attestor other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) return this;
+      if (other == com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -637,13 +702,15 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Attestor o
         mergeUpdateTime(other.getUpdateTime());
       }
       switch (other.getAttestorTypeCase()) {
-        case USER_OWNED_DRYDOCK_NOTE: {
-          mergeUserOwnedDrydockNote(other.getUserOwnedDrydockNote());
-          break;
-        }
-        case ATTESTORTYPE_NOT_SET: {
-          break;
-        }
+        case USER_OWNED_DRYDOCK_NOTE:
+          {
+            mergeUserOwnedDrydockNote(other.getUserOwnedDrydockNote());
+            break;
+          }
+        case ATTESTORTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -671,36 +738,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              input.readMessage(
-                  getUserOwnedDrydockNoteFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              attestorTypeCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            case 50: {
-              description_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                input.readMessage(
+                    getUserOwnedDrydockNoteFieldBuilder().getBuilder(), extensionRegistry);
+                attestorTypeCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            case 50:
+              {
+                description_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -710,12 +779,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int attestorTypeCase_ = 0;
     private java.lang.Object attestorType_;
-    public AttestorTypeCase
-        getAttestorTypeCase() {
-      return AttestorTypeCase.forNumber(
-          attestorTypeCase_);
+
+    public AttestorTypeCase getAttestorTypeCase() {
+      return AttestorTypeCase.forNumber(attestorTypeCase_);
     }
 
     public Builder clearAttestorType() {
@@ -729,19 +798,21 @@ public Builder clearAttestorType() {
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -750,21 +821,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -772,30 +844,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -805,18 +884,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name, in the format:
      * `projects/*/attestors/*`. This field may not be updated.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -826,19 +909,21 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -847,21 +932,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -869,30 +955,37 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -902,18 +995,22 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A descriptive comment.  This field may be updated.
      * The field may be displayed in chooser dialogs.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -922,13 +1019,21 @@ public Builder setDescriptionBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> userOwnedDrydockNoteBuilder_; + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> + userOwnedDrydockNoteBuilder_; /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * * @return Whether the userOwnedDrydockNote field is set. */ @java.lang.Override @@ -936,35 +1041,48 @@ public boolean hasUserOwnedDrydockNote() { return attestorTypeCase_ == 3; } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * * @return The userOwnedDrydockNote. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getUserOwnedDrydockNote() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + getUserOwnedDrydockNote() { if (userOwnedDrydockNoteBuilder_ == null) { if (attestorTypeCase_ == 3) { return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } - return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + .getDefaultInstance(); } else { if (attestorTypeCase_ == 3) { return userOwnedDrydockNoteBuilder_.getMessage(); } - return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + .getDefaultInstance(); } } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ - public Builder setUserOwnedDrydockNote(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { + public Builder setUserOwnedDrydockNote( + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { if (userOwnedDrydockNoteBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -978,11 +1096,15 @@ public Builder setUserOwnedDrydockNote(com.google.cloud.binaryauthorization.v1be return this; } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ public Builder setUserOwnedDrydockNote( com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder builderForValue) { @@ -996,18 +1118,29 @@ public Builder setUserOwnedDrydockNote( return this; } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ - public Builder mergeUserOwnedDrydockNote(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { + public Builder mergeUserOwnedDrydockNote( + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote value) { if (userOwnedDrydockNoteBuilder_ == null) { - if (attestorTypeCase_ == 3 && - attestorType_ != com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance()) { - attestorType_ = com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder((com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_) - .mergeFrom(value).buildPartial(); + if (attestorTypeCase_ == 3 + && attestorType_ + != com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + .getDefaultInstance()) { + attestorType_ = + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder( + (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) + attestorType_) + .mergeFrom(value) + .buildPartial(); } else { attestorType_ = value; } @@ -1023,11 +1156,15 @@ public Builder mergeUserOwnedDrydockNote(com.google.cloud.binaryauthorization.v1 return this; } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ public Builder clearUserOwnedDrydockNote() { if (userOwnedDrydockNoteBuilder_ == null) { @@ -1046,49 +1183,71 @@ public Builder clearUserOwnedDrydockNote() { return this; } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder getUserOwnedDrydockNoteBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder + getUserOwnedDrydockNoteBuilder() { return getUserOwnedDrydockNoteFieldBuilder().getBuilder(); } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder getUserOwnedDrydockNoteOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder + getUserOwnedDrydockNoteOrBuilder() { if ((attestorTypeCase_ == 3) && (userOwnedDrydockNoteBuilder_ != null)) { return userOwnedDrydockNoteBuilder_.getMessageOrBuilder(); } else { if (attestorTypeCase_ == 3) { return (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_; } - return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + .getDefaultInstance(); } } /** + * + * *
      * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder> getUserOwnedDrydockNoteFieldBuilder() { if (userOwnedDrydockNoteBuilder_ == null) { if (!(attestorTypeCase_ == 3)) { - attestorType_ = com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance(); + attestorType_ = + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + .getDefaultInstance(); } - userOwnedDrydockNoteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder>( + userOwnedDrydockNoteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote, + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder, + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder>( (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) attestorType_, getParentForChildren(), isClean()); @@ -1101,39 +1260,58 @@ public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilde private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1149,14 +1327,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { @@ -1167,17 +1348,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -1190,11 +1375,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1207,11 +1396,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1219,43 +1412,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. Time when the attestor was last updated.
      * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1265,12 +1470,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.Attestor) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.Attestor) private static final com.google.cloud.binaryauthorization.v1beta1.Attestor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.Attestor(); } @@ -1279,27 +1484,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.Attestor getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Attestor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Attestor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,6 +1519,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.Attestor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorName.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java similarity index 66% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java index 0d844eec3c5a..375cb29a0d63 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorOrBuilder.java @@ -1,107 +1,159 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface AttestorOrBuilder extends +public interface AttestorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.Attestor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name, in the format:
    * `projects/*/attestors/*`. This field may not be updated.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A descriptive comment.  This field may be updated.
    * The field may be displayed in chooser dialogs.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * * @return Whether the userOwnedDrydockNote field is set. */ boolean hasUserOwnedDrydockNote(); /** + * + * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * * @return The userOwnedDrydockNote. */ com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getUserOwnedDrydockNote(); /** + * + * *
    * A Drydock ATTESTATION_AUTHORITY Note, created by the user.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * + * .google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote user_owned_drydock_note = 3; + * */ - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder getUserOwnedDrydockNoteOrBuilder(); + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder + getUserOwnedDrydockNoteOrBuilder(); /** + * + * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. Time when the attestor was last updated.
    * 
* - * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java similarity index 74% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java index dee96bf2c084..5dc35eaa4efe 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKey.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * An [attestor public key][google.cloud.binaryauthorization.v1beta1.AttestorPublicKey] that will be used to verify
  * attestations signed by this attestor.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AttestorPublicKey}
  */
-public final class AttestorPublicKey extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AttestorPublicKey extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
     AttestorPublicKeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AttestorPublicKey.newBuilder() to construct.
   private AttestorPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AttestorPublicKey() {
     comment_ = "";
     id_ = "";
@@ -27,34 +45,39 @@ private AttestorPublicKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttestorPublicKey();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class,
+            com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
   }
 
   private int publicKeyCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object publicKey_;
+
   public enum PublicKeyCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ASCII_ARMORED_PGP_PUBLIC_KEY(3),
     PKIX_PUBLIC_KEY(5),
     PUBLICKEY_NOT_SET(0);
     private final int value;
+
     private PublicKeyCase(int value) {
       this.value = value;
     }
@@ -70,32 +93,39 @@ public static PublicKeyCase valueOf(int value) {
 
     public static PublicKeyCase forNumber(int value) {
       switch (value) {
-        case 3: return ASCII_ARMORED_PGP_PUBLIC_KEY;
-        case 5: return PKIX_PUBLIC_KEY;
-        case 0: return PUBLICKEY_NOT_SET;
-        default: return null;
+        case 3:
+          return ASCII_ARMORED_PGP_PUBLIC_KEY;
+        case 5:
+          return PKIX_PUBLIC_KEY;
+        case 0:
+          return PUBLICKEY_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public PublicKeyCase
-  getPublicKeyCase() {
-    return PublicKeyCase.forNumber(
-        publicKeyCase_);
+  public PublicKeyCase getPublicKeyCase() {
+    return PublicKeyCase.forNumber(publicKeyCase_);
   }
 
   public static final int COMMENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object comment_ = "";
   /**
+   *
+   *
    * 
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The comment. */ @java.lang.Override @@ -104,29 +134,29 @@ public java.lang.String getComment() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; } } /** + * + * *
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for comment. */ @java.lang.Override - public com.google.protobuf.ByteString - getCommentBytes() { + public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); comment_ = b; return b; } else { @@ -135,9 +165,12 @@ public java.lang.String getComment() { } public static final int ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -149,6 +182,7 @@ public java.lang.String getComment() {
    * 
* * string id = 2; + * * @return The id. */ @java.lang.Override @@ -157,14 +191,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -176,16 +211,15 @@ public java.lang.String getId() {
    * 
* * string id = 2; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -195,6 +229,8 @@ public java.lang.String getId() { public static final int ASCII_ARMORED_PGP_PUBLIC_KEY_FIELD_NUMBER = 3; /** + * + * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -207,12 +243,15 @@ public java.lang.String getId() {
    * 
* * string ascii_armored_pgp_public_key = 3; + * * @return Whether the asciiArmoredPgpPublicKey field is set. */ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** + * + * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -225,6 +264,7 @@ public boolean hasAsciiArmoredPgpPublicKey() {
    * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The asciiArmoredPgpPublicKey. */ public java.lang.String getAsciiArmoredPgpPublicKey() { @@ -235,8 +275,7 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -245,6 +284,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** + * + * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -257,18 +298,17 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
    * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The bytes for asciiArmoredPgpPublicKey. */ - public com.google.protobuf.ByteString - getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -280,6 +320,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { public static final int PKIX_PUBLIC_KEY_FIELD_NUMBER = 5; /** + * + * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -290,6 +332,7 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; + * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -297,6 +340,8 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** + * + * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -307,16 +352,19 @@ public boolean hasPkixPublicKey() {
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; + * * @return The pkixPublicKey. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicKey() { if (publicKeyCase_ == 5) { - return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_; + return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_; } return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance(); } /** + * + * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -329,14 +377,16 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicK
    * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
    */
   @java.lang.Override
-  public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
+  public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder
+      getPkixPublicKeyOrBuilder() {
     if (publicKeyCase_ == 5) {
-       return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_;
+      return (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_;
     }
     return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -348,8 +398,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, comment_);
     }
@@ -360,7 +409,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       com.google.protobuf.GeneratedMessageV3.writeString(output, 3, publicKey_);
     }
     if (publicKeyCase_ == 5) {
-      output.writeMessage(5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
+      output.writeMessage(
+          5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -381,8 +431,9 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, publicKey_);
     }
     if (publicKeyCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -392,26 +443,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)) {
       return super.equals(obj);
     }
-    com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey other = (com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) obj;
+    com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey other =
+        (com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) obj;
 
-    if (!getComment()
-        .equals(other.getComment())) return false;
-    if (!getId()
-        .equals(other.getId())) return false;
+    if (!getComment().equals(other.getComment())) return false;
+    if (!getId().equals(other.getId())) return false;
     if (!getPublicKeyCase().equals(other.getPublicKeyCase())) return false;
     switch (publicKeyCase_) {
       case 3:
-        if (!getAsciiArmoredPgpPublicKey()
-            .equals(other.getAsciiArmoredPgpPublicKey())) return false;
+        if (!getAsciiArmoredPgpPublicKey().equals(other.getAsciiArmoredPgpPublicKey()))
+          return false;
         break;
       case 5:
-        if (!getPkixPublicKey()
-            .equals(other.getPkixPublicKey())) return false;
+        if (!getPkixPublicKey().equals(other.getPkixPublicKey())) return false;
         break;
       case 0:
       default:
@@ -449,98 +498,104 @@ public int hashCode() {
   }
 
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey prototype) {
+
+  public static Builder newBuilder(
+      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [attestor public key][google.cloud.binaryauthorization.v1beta1.AttestorPublicKey] that will be used to verify
    * attestations signed by this attestor.
@@ -548,33 +603,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.AttestorPublicKey}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
       com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.class,
+              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -590,13 +644,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getDefaultInstanceForType() {
+    public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
+        getDefaultInstanceForType() {
       return com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance();
     }
 
@@ -611,14 +666,18 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result = new com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result =
+          new com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
+    private void buildPartial0(
+        com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.comment_ = comment_;
@@ -628,11 +687,11 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Attestor
       }
     }
 
-    private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
+    private void buildPartialOneofs(
+        com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey result) {
       result.publicKeyCase_ = publicKeyCase_;
       result.publicKey_ = this.publicKey_;
-      if (publicKeyCase_ == 5 &&
-          pkixPublicKeyBuilder_ != null) {
+      if (publicKeyCase_ == 5 && pkixPublicKeyBuilder_ != null) {
         result.publicKey_ = pkixPublicKeyBuilder_.build();
       }
     }
@@ -641,38 +700,39 @@ private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.Att
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -680,7 +740,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance())
+        return this;
       if (!other.getComment().isEmpty()) {
         comment_ = other.comment_;
         bitField0_ |= 0x00000001;
@@ -692,19 +754,22 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.AttestorPu
         onChanged();
       }
       switch (other.getPublicKeyCase()) {
-        case ASCII_ARMORED_PGP_PUBLIC_KEY: {
-          publicKeyCase_ = 3;
-          publicKey_ = other.publicKey_;
-          onChanged();
-          break;
-        }
-        case PKIX_PUBLIC_KEY: {
-          mergePkixPublicKey(other.getPkixPublicKey());
-          break;
-        }
-        case PUBLICKEY_NOT_SET: {
-          break;
-        }
+        case ASCII_ARMORED_PGP_PUBLIC_KEY:
+          {
+            publicKeyCase_ = 3;
+            publicKey_ = other.publicKey_;
+            onChanged();
+            break;
+          }
+        case PKIX_PUBLIC_KEY:
+          {
+            mergePkixPublicKey(other.getPkixPublicKey());
+            break;
+          }
+        case PUBLICKEY_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -732,35 +797,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              comment_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              id_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              publicKeyCase_ = 3;
-              publicKey_ = s;
-              break;
-            } // case 26
-            case 42: {
-              input.readMessage(
-                  getPkixPublicKeyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              publicKeyCase_ = 5;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                comment_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                id_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                publicKeyCase_ = 3;
+                publicKey_ = s;
+                break;
+              } // case 26
+            case 42:
+              {
+                input.readMessage(getPkixPublicKeyFieldBuilder().getBuilder(), extensionRegistry);
+                publicKeyCase_ = 5;
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -770,12 +838,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int publicKeyCase_ = 0;
     private java.lang.Object publicKey_;
-    public PublicKeyCase
-        getPublicKeyCase() {
-      return PublicKeyCase.forNumber(
-          publicKeyCase_);
+
+    public PublicKeyCase getPublicKeyCase() {
+      return PublicKeyCase.forNumber(publicKeyCase_);
     }
 
     public Builder clearPublicKey() {
@@ -789,18 +857,20 @@ public Builder clearPublicKey() {
 
     private java.lang.Object comment_ = "";
     /**
+     *
+     *
      * 
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The comment. */ public java.lang.String getComment() { java.lang.Object ref = comment_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); comment_ = s; return s; @@ -809,20 +879,21 @@ public java.lang.String getComment() { } } /** + * + * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for comment. */ - public com.google.protobuf.ByteString - getCommentBytes() { + public com.google.protobuf.ByteString getCommentBytes() { java.lang.Object ref = comment_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); comment_ = b; return b; } else { @@ -830,28 +901,35 @@ public java.lang.String getComment() { } } /** + * + * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The comment to set. * @return This builder for chaining. */ - public Builder setComment( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setComment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } comment_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearComment() { @@ -861,17 +939,21 @@ public Builder clearComment() { return this; } /** + * + * *
      * Optional. A descriptive comment. This field may be updated.
      * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for comment to set. * @return This builder for chaining. */ - public Builder setCommentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCommentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); comment_ = value; bitField0_ |= 0x00000001; @@ -881,6 +963,8 @@ public Builder setCommentBytes( private java.lang.Object id_ = ""; /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -892,13 +976,13 @@ public Builder setCommentBytes(
      * 
* * string id = 2; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -907,6 +991,8 @@ public java.lang.String getId() { } } /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -918,15 +1004,14 @@ public java.lang.String getId() {
      * 
* * string id = 2; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -934,6 +1019,8 @@ public java.lang.String getId() { } } /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -945,18 +1032,22 @@ public java.lang.String getId() {
      * 
* * string id = 2; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -968,6 +1059,7 @@ public Builder setId(
      * 
* * string id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -977,6 +1069,8 @@ public Builder clearId() { return this; } /** + * + * *
      * The ID of this public key.
      * Signatures verified by BinAuthz must include the ID of the public key that
@@ -988,12 +1082,14 @@ public Builder clearId() {
      * 
* * string id = 2; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -1002,6 +1098,8 @@ public Builder setIdBytes( } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1014,6 +1112,7 @@ public Builder setIdBytes(
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return Whether the asciiArmoredPgpPublicKey field is set. */ @java.lang.Override @@ -1021,6 +1120,8 @@ public boolean hasAsciiArmoredPgpPublicKey() { return publicKeyCase_ == 3; } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1033,6 +1134,7 @@ public boolean hasAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The asciiArmoredPgpPublicKey. */ @java.lang.Override @@ -1042,8 +1144,7 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { ref = publicKey_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (publicKeyCase_ == 3) { publicKey_ = s; @@ -1054,6 +1155,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1066,19 +1169,18 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The bytes for asciiArmoredPgpPublicKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getAsciiArmoredPgpPublicKeyBytes() { + public com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes() { java.lang.Object ref = ""; if (publicKeyCase_ == 3) { ref = publicKey_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (publicKeyCase_ == 3) { publicKey_ = b; } @@ -1088,6 +1190,8 @@ public java.lang.String getAsciiArmoredPgpPublicKey() { } } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1100,18 +1204,22 @@ public java.lang.String getAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @param value The asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKey( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsciiArmoredPgpPublicKey(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKeyCase_ = 3; publicKey_ = value; onChanged(); return this; } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1124,6 +1232,7 @@ public Builder setAsciiArmoredPgpPublicKey(
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @return This builder for chaining. */ public Builder clearAsciiArmoredPgpPublicKey() { @@ -1135,6 +1244,8 @@ public Builder clearAsciiArmoredPgpPublicKey() { return this; } /** + * + * *
      * ASCII-armored representation of a PGP public key, as the entire output by
      * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -1147,12 +1258,14 @@ public Builder clearAsciiArmoredPgpPublicKey() {
      * 
* * string ascii_armored_pgp_public_key = 3; + * * @param value The bytes for asciiArmoredPgpPublicKey to set. * @return This builder for chaining. */ - public Builder setAsciiArmoredPgpPublicKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAsciiArmoredPgpPublicKeyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKeyCase_ = 3; publicKey_ = value; @@ -1161,8 +1274,13 @@ public Builder setAsciiArmoredPgpPublicKeyBytes( } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder> pkixPublicKeyBuilder_; + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder> + pkixPublicKeyBuilder_; /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1173,6 +1291,7 @@ public Builder setAsciiArmoredPgpPublicKeyBytes(
      * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; + * * @return Whether the pkixPublicKey field is set. */ @java.lang.Override @@ -1180,6 +1299,8 @@ public boolean hasPkixPublicKey() { return publicKeyCase_ == 5; } /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1190,6 +1311,7 @@ public boolean hasPkixPublicKey() {
      * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; + * * @return The pkixPublicKey. */ @java.lang.Override @@ -1207,6 +1329,8 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicK } } /** + * + * *
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1218,7 +1342,8 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicK
      *
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
-    public Builder setPkixPublicKey(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
+    public Builder setPkixPublicKey(
+        com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
       if (pkixPublicKeyBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1232,6 +1357,8 @@ public Builder setPkixPublicKey(com.google.cloud.binaryauthorization.v1beta1.Pki
       return this;
     }
     /**
+     *
+     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1255,6 +1382,8 @@ public Builder setPkixPublicKey(
       return this;
     }
     /**
+     *
+     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1266,12 +1395,18 @@ public Builder setPkixPublicKey(
      *
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
-    public Builder mergePkixPublicKey(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
+    public Builder mergePkixPublicKey(
+        com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey value) {
       if (pkixPublicKeyBuilder_ == null) {
-        if (publicKeyCase_ == 5 &&
-            publicKey_ != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance()) {
-          publicKey_ = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.newBuilder((com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_)
-              .mergeFrom(value).buildPartial();
+        if (publicKeyCase_ == 5
+            && publicKey_
+                != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey
+                    .getDefaultInstance()) {
+          publicKey_ =
+              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.newBuilder(
+                      (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           publicKey_ = value;
         }
@@ -1287,6 +1422,8 @@ public Builder mergePkixPublicKey(com.google.cloud.binaryauthorization.v1beta1.P
       return this;
     }
     /**
+     *
+     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1315,6 +1452,8 @@ public Builder clearPkixPublicKey() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1326,10 +1465,13 @@ public Builder clearPkixPublicKey() {
      *
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
-    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder getPkixPublicKeyBuilder() {
+    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder
+        getPkixPublicKeyBuilder() {
       return getPkixPublicKeyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1342,7 +1484,8 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder getPki
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder getPkixPublicKeyOrBuilder() {
+    public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder
+        getPkixPublicKeyOrBuilder() {
       if ((publicKeyCase_ == 5) && (pkixPublicKeyBuilder_ != null)) {
         return pkixPublicKeyBuilder_.getMessageOrBuilder();
       } else {
@@ -1353,6 +1496,8 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder getPk
       }
     }
     /**
+     *
+     *
      * 
      * A raw PKIX SubjectPublicKeyInfo format public key.
      *
@@ -1365,14 +1510,20 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder getPk
      * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder> 
+            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey,
+            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder,
+            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder>
         getPkixPublicKeyFieldBuilder() {
       if (pkixPublicKeyBuilder_ == null) {
         if (!(publicKeyCase_ == 5)) {
-          publicKey_ = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance();
+          publicKey_ =
+              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance();
         }
-        pkixPublicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder>(
+        pkixPublicKeyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey,
+                com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder,
+                com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder>(
                 (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) publicKey_,
                 getParentForChildren(),
                 isClean());
@@ -1382,9 +1533,9 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder getPk
       onChanged();
       return pkixPublicKeyBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1394,41 +1545,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
-  private static final com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey DEFAULT_INSTANCE;
+  private static final com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey();
   }
 
-  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getDefaultInstance() {
+  public static com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AttestorPublicKey parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AttestorPublicKey parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1440,9 +1593,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getDefaultInstanceForType() {
+  public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
similarity index 85%
rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
index 70fbcd237598..47570ba30d69 100644
--- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
+++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/AttestorPublicKeyOrBuilder.java
@@ -1,33 +1,56 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/binaryauthorization/v1beta1/resources.proto
 
 package com.google.cloud.binaryauthorization.v1beta1;
 
-public interface AttestorPublicKeyOrBuilder extends
+public interface AttestorPublicKeyOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.AttestorPublicKey)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The comment. */ java.lang.String getComment(); /** + * + * *
    * Optional. A descriptive comment. This field may be updated.
    * 
* * string comment = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for comment. */ - com.google.protobuf.ByteString - getCommentBytes(); + com.google.protobuf.ByteString getCommentBytes(); /** + * + * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -39,10 +62,13 @@ public interface AttestorPublicKeyOrBuilder extends
    * 
* * string id = 2; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * The ID of this public key.
    * Signatures verified by BinAuthz must include the ID of the public key that
@@ -54,12 +80,14 @@ public interface AttestorPublicKeyOrBuilder extends
    * 
* * string id = 2; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -72,10 +100,13 @@ public interface AttestorPublicKeyOrBuilder extends
    * 
* * string ascii_armored_pgp_public_key = 3; + * * @return Whether the asciiArmoredPgpPublicKey field is set. */ boolean hasAsciiArmoredPgpPublicKey(); /** + * + * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -88,10 +119,13 @@ public interface AttestorPublicKeyOrBuilder extends
    * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The asciiArmoredPgpPublicKey. */ java.lang.String getAsciiArmoredPgpPublicKey(); /** + * + * *
    * ASCII-armored representation of a PGP public key, as the entire output by
    * the command `gpg --export --armor foo@example.com` (either LF or CRLF
@@ -104,12 +138,14 @@ public interface AttestorPublicKeyOrBuilder extends
    * 
* * string ascii_armored_pgp_public_key = 3; + * * @return The bytes for asciiArmoredPgpPublicKey. */ - com.google.protobuf.ByteString - getAsciiArmoredPgpPublicKeyBytes(); + com.google.protobuf.ByteString getAsciiArmoredPgpPublicKeyBytes(); /** + * + * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -120,10 +156,13 @@ public interface AttestorPublicKeyOrBuilder extends
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; + * * @return Whether the pkixPublicKey field is set. */ boolean hasPkixPublicKey(); /** + * + * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
@@ -134,10 +173,13 @@ public interface AttestorPublicKeyOrBuilder extends
    * 
* * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey pkix_public_key = 5; + * * @return The pkixPublicKey. */ com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getPkixPublicKey(); /** + * + * *
    * A raw PKIX SubjectPublicKeyInfo format public key.
    *
diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java
new file mode 100644
index 000000000000..1bf5ef7c1e42
--- /dev/null
+++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java
@@ -0,0 +1,311 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/binaryauthorization/v1beta1/resources.proto
+
+package com.google.cloud.binaryauthorization.v1beta1;
+
+public final class BinaryAuthorizationResourcesProto {
+  private BinaryAuthorizationResourcesProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public 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_binaryauthorization_v1beta1_Policy_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n8google/cloud/binaryauthorization/v1bet"
+          + "a1/resources.proto\022(google.cloud.binarya"
+          + "uthorization.v1beta1\032\037google/api/field_b"
+          + "ehavior.proto\032\031google/api/resource.proto"
+          + "\032\037google/protobuf/timestamp.proto\"\273\r\n\006Po"
+          + "licy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030"
+          + "\006 \001(\tB\004\342A\001\001\022x\n\035global_policy_evaluation_"
+          + "mode\030\007 \001(\0162K.google.cloud.binaryauthoriz"
+          + "ation.v1beta1.Policy.GlobalPolicyEvaluat"
+          + "ionModeB\004\342A\001\001\022o\n\034admission_whitelist_pat"
+          + "terns\030\002 \003(\0132C.google.cloud.binaryauthori"
+          + "zation.v1beta1.AdmissionWhitelistPattern"
+          + "B\004\342A\001\001\022r\n\027cluster_admission_rules\030\003 \003(\0132"
+          + "K.google.cloud.binaryauthorization.v1bet"
+          + "a1.Policy.ClusterAdmissionRulesEntryB\004\342A"
+          + "\001\001\022\213\001\n$kubernetes_namespace_admission_ru"
+          + "les\030\n \003(\0132W.google.cloud.binaryauthoriza"
+          + "tion.v1beta1.Policy.KubernetesNamespaceA"
+          + "dmissionRulesEntryB\004\342A\001\001\022\226\001\n*kubernetes_"
+          + "service_account_admission_rules\030\010 \003(\0132\\."
+          + "google.cloud.binaryauthorization.v1beta1"
+          + ".Policy.KubernetesServiceAccountAdmissio"
+          + "nRulesEntryB\004\342A\001\001\022\216\001\n&istio_service_iden"
+          + "tity_admission_rules\030\t \003(\0132X.google.clou"
+          + "d.binaryauthorization.v1beta1.Policy.Ist"
+          + "ioServiceIdentityAdmissionRulesEntryB\004\342A"
+          + "\001\001\022]\n\026default_admission_rule\030\004 \001(\01327.goo"
+          + "gle.cloud.binaryauthorization.v1beta1.Ad"
+          + "missionRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032"
+          + ".google.protobuf.TimestampB\004\342A\001\003\032u\n\032Clus"
+          + "terAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005v"
+          + "alue\030\002 \001(\01327.google.cloud.binaryauthoriz"
+          + "ation.v1beta1.AdmissionRule:\0028\001\032\201\001\n&Kube"
+          + "rnetesNamespaceAdmissionRulesEntry\022\013\n\003ke"
+          + "y\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google.cloud.bi"
+          + "naryauthorization.v1beta1.AdmissionRule:"
+          + "\0028\001\032\206\001\n+KubernetesServiceAccountAdmissio"
+          + "nRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\0132"
+          + "7.google.cloud.binaryauthorization.v1bet"
+          + "a1.AdmissionRule:\0028\001\032\202\001\n\'IstioServiceIde"
+          + "ntityAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n"
+          + "\005value\030\002 \001(\01327.google.cloud.binaryauthor"
+          + "ization.v1beta1.AdmissionRule:\0028\001\"d\n\032Glo"
+          + "balPolicyEvaluationMode\022-\n)GLOBAL_POLICY"
+          + "_EVALUATION_MODE_UNSPECIFIED\020\000\022\n\n\006ENABLE"
+          + "\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binaryauthorizatio"
+          + "n.googleapis.com/Policy\022\031projects/{proje"
+          + "ct}/policy\022\033locations/{location}/policy\""
+          + "1\n\031AdmissionWhitelistPattern\022\024\n\014name_pat"
+          + "tern\030\001 \001(\t\"\347\003\n\rAdmissionRule\022e\n\017evaluati"
+          + "on_mode\030\001 \001(\0162F.google.cloud.binaryautho"
+          + "rization.v1beta1.AdmissionRule.Evaluatio"
+          + "nModeB\004\342A\001\002\022%\n\027require_attestations_by\030\002"
+          + " \003(\tB\004\342A\001\001\022g\n\020enforcement_mode\030\003 \001(\0162G.g"
+          + "oogle.cloud.binaryauthorization.v1beta1."
+          + "AdmissionRule.EnforcementModeB\004\342A\001\002\"m\n\016E"
+          + "valuationMode\022\037\n\033EVALUATION_MODE_UNSPECI"
+          + "FIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_ATTE"
+          + "STATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforcemen"
+          + "tMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED\020\000\022"
+          + " \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025DRY"
+          + "RUN_AUDIT_LOG_ONLY\020\002\"\277\002\n\010Attestor\022\022\n\004nam"
+          + "e\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342A\001\001"
+          + "\022a\n\027user_owned_drydock_note\030\003 \001(\0132>.goog"
+          + "le.cloud.binaryauthorization.v1beta1.Use"
+          + "rOwnedDrydockNoteH\000\0225\n\013update_time\030\004 \001(\013"
+          + "2\032.google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n"
+          + "+binaryauthorization.googleapis.com/Atte"
+          + "stor\022\'projects/{project}/attestors/{atte"
+          + "stor}B\017\n\rattestor_type\"\274\001\n\024UserOwnedDryd"
+          + "ockNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022V\n"
+          + "\013public_keys\030\002 \003(\0132;.google.cloud.binary"
+          + "authorization.v1beta1.AttestorPublicKeyB"
+          + "\004\342A\001\001\022.\n delegation_service_account_emai"
+          + "l\030\003 \001(\tB\004\342A\001\003\"\304\004\n\rPkixPublicKey\022\026\n\016publi"
+          + "c_key_pem\030\001 \001(\t\022g\n\023signature_algorithm\030\002"
+          + " \001(\0162J.google.cloud.binaryauthorization."
+          + "v1beta1.PkixPublicKey.SignatureAlgorithm"
+          + "\"\261\003\n\022SignatureAlgorithm\022#\n\037SIGNATURE_ALG"
+          + "ORITHM_UNSPECIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA"
+          + "256\020\001\022\027\n\023RSA_PSS_3072_SHA256\020\002\022\027\n\023RSA_PS"
+          + "S_4096_SHA256\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004"
+          + "\022\036\n\032RSA_SIGN_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_"
+          + "SIGN_PKCS1_3072_SHA256\020\006\022\036\n\032RSA_SIGN_PKC"
+          + "S1_4096_SHA256\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_"
+          + "SHA512\020\010\022\025\n\021ECDSA_P256_SHA256\020\t\022\027\n\023EC_SI"
+          + "GN_P256_SHA256\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022"
+          + "\027\n\023EC_SIGN_P384_SHA384\020\n\022\025\n\021ECDSA_P521_S"
+          + "HA512\020\013\022\027\n\023EC_SIGN_P521_SHA512\020\013\032\002\020\001\"\300\001\n"
+          + "\021AttestorPublicKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001"
+          + "\001\022\n\n\002id\030\002 \001(\t\022&\n\034ascii_armored_pgp_publi"
+          + "c_key\030\003 \001(\tH\000\022R\n\017pkix_public_key\030\005 \001(\01327"
+          + ".google.cloud.binaryauthorization.v1beta"
+          + "1.PkixPublicKeyH\000B\014\n\npublic_keyB\272\002\n,com."
+          + "google.cloud.binaryauthorization.v1beta1"
+          + "B!BinaryAuthorizationResourcesProtoP\001Z^c"
+          + "loud.google.com/go/binaryauthorization/a"
+          + "piv1beta1/binaryauthorizationpb;binaryau"
+          + "thorizationpb\370\001\001\252\002(Google.Cloud.BinaryAu"
+          + "thorization.V1Beta1\312\002(Google\\Cloud\\Binar"
+          + "yAuthorization\\V1beta1\352\002+Google::Cloud::"
+          + "BinaryAuthorization::V1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor,
+            new java.lang.String[] {
+              "Name",
+              "Description",
+              "GlobalPolicyEvaluationMode",
+              "AdmissionWhitelistPatterns",
+              "ClusterAdmissionRules",
+              "KubernetesNamespaceAdmissionRules",
+              "KubernetesServiceAccountAdmissionRules",
+              "IstioServiceIdentityAdmissionRules",
+              "DefaultAdmissionRule",
+              "UpdateTime",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor =
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor =
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
+            .getNestedTypes()
+            .get(1);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor =
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
+            .getNestedTypes()
+            .get(2);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor =
+        internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor
+            .getNestedTypes()
+            .get(3);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor,
+            new java.lang.String[] {
+              "NamePattern",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor,
+            new java.lang.String[] {
+              "EvaluationMode", "RequireAttestationsBy", "EnforcementMode",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "UserOwnedDrydockNote", "UpdateTime", "AttestorType",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor,
+            new java.lang.String[] {
+              "NoteReference", "PublicKeys", "DelegationServiceAccountEmail",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor,
+            new java.lang.String[] {
+              "PublicKeyPem", "SignatureAlgorithm",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor,
+            new java.lang.String[] {
+              "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java
new file mode 100644
index 000000000000..238c770d59bb
--- /dev/null
+++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java
@@ -0,0 +1,265 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/binaryauthorization/v1beta1/service.proto
+
+package com.google.cloud.binaryauthorization.v1beta1;
+
+public final class BinaryAuthorizationServiceProto {
+  private BinaryAuthorizationServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public 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_binaryauthorization_v1beta1_GetPolicyRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/cloud/binaryauthorization/v1bet"
+          + "a1/service.proto\022(google.cloud.binaryaut"
+          + "horization.v1beta1\032\034google/api/annotatio"
+          + "ns.proto\032\027google/api/client.proto\032\037googl"
+          + "e/api/field_behavior.proto\032\031google/api/r"
+          + "esource.proto\0328google/cloud/binaryauthor"
+          + "ization/v1beta1/resources.proto\032\033google/"
+          + "protobuf/empty.proto\"T\n\020GetPolicyRequest"
+          + "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza"
+          + "tion.googleapis.com/Policy\"]\n\023UpdatePoli"
+          + "cyRequest\022F\n\006policy\030\001 \001(\01320.google.cloud"
+          + ".binaryauthorization.v1beta1.PolicyB\004\342A\001"
+          + "\002\"\304\001\n\025CreateAttestorRequest\022D\n\006parent\030\001 "
+          + "\001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.googl"
+          + "eapis.com/Project\022\031\n\013attestor_id\030\002 \001(\tB\004"
+          + "\342A\001\002\022J\n\010attestor\030\003 \001(\01322.google.cloud.bi"
+          + "naryauthorization.v1beta1.AttestorB\004\342A\001\002"
+          + "\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(\tB4\342A"
+          + "\001\002\372A-\n+binaryauthorization.googleapis.co"
+          + "m/Attestor\"c\n\025UpdateAttestorRequest\022J\n\010a"
+          + "ttestor\030\001 \001(\01322.google.cloud.binaryautho"
+          + "rization.v1beta1.AttestorB\004\342A\001\002\"\203\001\n\024List"
+          + "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A"
+          + "-\n+cloudresourcemanager.googleapis.com/P"
+          + "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030"
+          + "\003 \001(\t\"w\n\025ListAttestorsResponse\022E\n\tattest"
+          + "ors\030\001 \003(\01322.google.cloud.binaryauthoriza"
+          + "tion.v1beta1.Attestor\022\027\n\017next_page_token"
+          + "\030\002 \001(\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030"
+          + "\001 \001(\tB4\342A\001\002\372A-\n+binaryauthorization.goog"
+          + "leapis.com/Attestor\"Z\n\026GetSystemPolicyRe"
+          + "quest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauth"
+          + "orization.googleapis.com/Policy2\313\013\n Bina"
+          + "uthzManagementServiceV1Beta1\022\253\001\n\tGetPoli"
+          + "cy\022:.google.cloud.binaryauthorization.v1"
+          + "beta1.GetPolicyRequest\0320.google.cloud.bi"
+          + "naryauthorization.v1beta1.Policy\"0\332A\004nam"
+          + "e\202\323\344\223\002#\022!/v1beta1/{name=projects/*/polic"
+          + "y}\022\302\001\n\014UpdatePolicy\022=.google.cloud.binar"
+          + "yauthorization.v1beta1.UpdatePolicyReque"
+          + "st\0320.google.cloud.binaryauthorization.v1"
+          + "beta1.Policy\"A\332A\006policy\202\323\344\223\0022\032(/v1beta1/"
+          + "{policy.name=projects/*/policy}:\006policy\022"
+          + "\335\001\n\016CreateAttestor\022?.google.cloud.binary"
+          + "authorization.v1beta1.CreateAttestorRequ"
+          + "est\0322.google.cloud.binaryauthorization.v"
+          + "1beta1.Attestor\"V\332A\033parent,attestor_id,a"
+          + "ttestor\202\323\344\223\0022\"&/v1beta1/{parent=projects"
+          + "/*}/attestors:\010attestor\022\266\001\n\013GetAttestor\022"
+          + "<.google.cloud.binaryauthorization.v1bet"
+          + "a1.GetAttestorRequest\0322.google.cloud.bin"
+          + "aryauthorization.v1beta1.Attestor\"5\332A\004na"
+          + "me\202\323\344\223\002(\022&/v1beta1/{name=projects/*/atte"
+          + "stors/*}\022\323\001\n\016UpdateAttestor\022?.google.clo"
+          + "ud.binaryauthorization.v1beta1.UpdateAtt"
+          + "estorRequest\0322.google.cloud.binaryauthor"
+          + "ization.v1beta1.Attestor\"L\332A\010attestor\202\323\344"
+          + "\223\002;\032//v1beta1/{attestor.name=projects/*/"
+          + "attestors/*}:\010attestor\022\311\001\n\rListAttestors"
+          + "\022>.google.cloud.binaryauthorization.v1be"
+          + "ta1.ListAttestorsRequest\032?.google.cloud."
+          + "binaryauthorization.v1beta1.ListAttestor"
+          + "sResponse\"7\332A\006parent\202\323\344\223\002(\022&/v1beta1/{pa"
+          + "rent=projects/*}/attestors\022\240\001\n\016DeleteAtt"
+          + "estor\022?.google.cloud.binaryauthorization"
+          + ".v1beta1.DeleteAttestorRequest\032\026.google."
+          + "protobuf.Empty\"5\332A\004name\202\323\344\223\002(*&/v1beta1/"
+          + "{name=projects/*/attestors/*}\032V\312A\"binary"
+          + "authorization.googleapis.com\322A.https://w"
+          + "ww.googleapis.com/auth/cloud-platform2\250\002"
+          + "\n\023SystemPolicyV1Beta1\022\270\001\n\017GetSystemPolic"
+          + "y\022@.google.cloud.binaryauthorization.v1b"
+          + "eta1.GetSystemPolicyRequest\0320.google.clo"
+          + "ud.binaryauthorization.v1beta1.Policy\"1\332"
+          + "A\004name\202\323\344\223\002$\022\"/v1beta1/{name=locations/*"
+          + "/policy}\032V\312A\"binaryauthorization.googlea"
+          + "pis.com\322A.https://www.googleapis.com/aut"
+          + "h/cloud-platformB\270\002\n,com.google.cloud.bi"
+          + "naryauthorization.v1beta1B\037BinaryAuthori"
+          + "zationServiceProtoP\001Z^cloud.google.com/g"
+          + "o/binaryauthorization/apiv1beta1/binarya"
+          + "uthorizationpb;binaryauthorizationpb\370\001\001\252"
+          + "\002(Google.Cloud.BinaryAuthorization.V1Bet"
+          + "a1\312\002(Google\\Cloud\\BinaryAuthorization\\V1"
+          + "beta1\352\002+Google::Cloud::BinaryAuthorizati"
+          + "on::V1beta1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.ClientProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+                  .getDescriptor(),
+              com.google.protobuf.EmptyProto.getDescriptor(),
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor,
+            new java.lang.String[] {
+              "Policy",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "AttestorId", "Attestor",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor,
+            new java.lang.String[] {
+              "Attestor",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor,
+            new java.lang.String[] {
+              "Attestors", "NextPageToken",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_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.ResourceProto.getDescriptor();
+    com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.getDescriptor();
+    com.google.protobuf.EmptyProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
similarity index 59%
rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
index 3f218b9a23be..b2b46279bef6 100644
--- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
+++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEvent.java
@@ -1,130 +1,172 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto
 
 package com.google.cloud.binaryauthorization.v1beta1;
 
 /**
+ *
+ *
  * 
  * Represents an auditing event from Continuous Validation.
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent} */ -public final class ContinuousValidationEvent extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ContinuousValidationEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) ContinuousValidationEventOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContinuousValidationEvent.newBuilder() to construct. private ContinuousValidationEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContinuousValidationEvent() { - } + + private ContinuousValidationEvent() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContinuousValidationEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); } - public interface ContinuousValidationPodEventOrBuilder extends + public interface ContinuousValidationPodEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; + * * @return The podNamespace. */ java.lang.String getPodNamespace(); /** + * + * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; + * * @return The bytes for podNamespace. */ - com.google.protobuf.ByteString - getPodNamespaceBytes(); + com.google.protobuf.ByteString getPodNamespaceBytes(); /** + * + * *
      * The name of the Pod.
      * 
* * string pod = 1; + * * @return The pod. */ java.lang.String getPod(); /** + * + * *
      * The name of the Pod.
      * 
* * string pod = 1; + * * @return The bytes for pod. */ - com.google.protobuf.ByteString - getPodBytes(); + com.google.protobuf.ByteString getPodBytes(); /** + * + * *
      * The name of the policy.
      * 
* * string policy_name = 8; + * * @return The policyName. */ java.lang.String getPolicyName(); /** + * + * *
      * The name of the policy.
      * 
* * string policy_name = 8; + * * @return The bytes for policyName. */ - com.google.protobuf.ByteString - getPolicyNameBytes(); + com.google.protobuf.ByteString getPolicyNameBytes(); /** + * + * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; + * * @return Whether the deployTime field is set. */ boolean hasDeployTime(); /** + * + * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; + * * @return The deployTime. */ com.google.protobuf.Timestamp getDeployTime(); /** + * + * *
      * Deploy time of the Pod from k8s.
      * 
@@ -134,24 +176,32 @@ public interface ContinuousValidationPodEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder(); /** + * + * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
@@ -161,84 +211,130 @@ public interface ContinuousValidationPodEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
      * Auditing verdict for this Pod.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @return The enum numeric value on the wire for verdict. */ int getVerdictValue(); /** + * + * *
      * Auditing verdict for this Pod.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @return The verdict. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict getVerdict(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + getVerdict(); /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - java.util.List + java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails> getImagesList(); /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getImages(int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + getImages(int index); /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ int getImagesCount(); /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder> getImagesOrBuilderList(); /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder getImagesOrBuilder( - int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder + getImagesOrBuilder(int index); } /** + * + * *
    * An auditing event for one Pod.
    * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} */ - public static final class ContinuousValidationPodEvent extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ContinuousValidationPodEvent + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) ContinuousValidationPodEventOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ContinuousValidationPodEvent.newBuilder() to construct. - private ContinuousValidationPodEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ContinuousValidationPodEvent( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ContinuousValidationPodEvent() { podNamespace_ = ""; pod_ = ""; @@ -249,34 +345,41 @@ private ContinuousValidationPodEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContinuousValidationPodEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.Builder.class); } /** + * + * *
      * Audit time policy conformance verdict.
      * 
* - * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict} + * Protobuf enum {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict} */ - public enum PolicyConformanceVerdict - implements com.google.protobuf.ProtocolMessageEnum { + public enum PolicyConformanceVerdict implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * We should always have a verdict. This is an error.
        * 
@@ -285,6 +388,8 @@ public enum PolicyConformanceVerdict */ POLICY_CONFORMANCE_VERDICT_UNSPECIFIED(0), /** + * + * *
        * The pod violates the policy.
        * 
@@ -296,6 +401,8 @@ public enum PolicyConformanceVerdict ; /** + * + * *
        * We should always have a verdict. This is an error.
        * 
@@ -304,6 +411,8 @@ public enum PolicyConformanceVerdict */ public static final int POLICY_CONFORMANCE_VERDICT_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The pod violates the policy.
        * 
@@ -312,7 +421,6 @@ public enum PolicyConformanceVerdict */ public static final int VIOLATES_POLICY_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -337,9 +445,12 @@ public static PolicyConformanceVerdict valueOf(int value) { */ public static PolicyConformanceVerdict forNumber(int value) { switch (value) { - case 0: return POLICY_CONFORMANCE_VERDICT_UNSPECIFIED; - case 1: return VIOLATES_POLICY; - default: return null; + case 0: + return POLICY_CONFORMANCE_VERDICT_UNSPECIFIED; + case 1: + return VIOLATES_POLICY; + default: + return null; } } @@ -347,29 +458,32 @@ public static PolicyConformanceVerdict forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PolicyConformanceVerdict> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PolicyConformanceVerdict findValueByNumber(int number) { - return PolicyConformanceVerdict.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 PolicyConformanceVerdict findValueByNumber(int number) { + return PolicyConformanceVerdict.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDescriptor() + .getEnumTypes() + .get(0); } private static final PolicyConformanceVerdict[] VALUES = values(); @@ -377,8 +491,7 @@ public PolicyConformanceVerdict findValueByNumber(int number) { public static PolicyConformanceVerdict 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; @@ -395,168 +508,240 @@ private PolicyConformanceVerdict(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict) } - public interface ImageDetailsOrBuilder extends + public interface ImageDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The name of the image.
        * 
* * string image = 1; + * * @return The image. */ java.lang.String getImage(); /** + * + * *
        * The name of the image.
        * 
* * string image = 1; + * * @return The bytes for image. */ - com.google.protobuf.ByteString - getImageBytes(); + com.google.protobuf.ByteString getImageBytes(); /** + * + * *
        * The name of the container.
        * 
* * string container_name = 5; + * * @return The containerName. */ java.lang.String getContainerName(); /** + * + * *
        * The name of the container.
        * 
* * string container_name = 5; + * * @return The bytes for containerName. */ - com.google.protobuf.ByteString - getContainerNameBytes(); + com.google.protobuf.ByteString getContainerNameBytes(); /** + * + * *
        * The container type that this image belongs to.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @return The enum numeric value on the wire for containerType. */ int getContainerTypeValue(); /** + * + * *
        * The container type that this image belongs to.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @return The containerType. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType getContainerType(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType + getContainerType(); /** + * + * *
        * The result of the audit for this image.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @return The enum numeric value on the wire for result. */ int getResultValue(); /** + * + * *
        * The result of the audit for this image.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @return The result. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult getResult(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult + getResult(); /** + * + * *
        * Description of the above result.
        * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
        * Description of the above result.
        * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - java.util.List + java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult> getCheckResultsList(); /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getCheckResults(int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + getCheckResults(int index); /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ int getCheckResultsCount(); /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> getCheckResultsOrBuilderList(); /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder getCheckResultsOrBuilder( - int index); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder + getCheckResultsOrBuilder(int index); } /** + * + * *
      * Container image with auditing details.
      * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} */ - public static final class ImageDetails extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ImageDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) ImageDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImageDetails.newBuilder() to construct. private ImageDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImageDetails() { image_ = ""; containerName_ = ""; @@ -568,34 +753,41 @@ private ImageDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImageDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder.class); } /** + * + * *
        * The container type.
        * 
* - * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType} + * Protobuf enum {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType} */ - public enum ContainerType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ContainerType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * The container type should always be specified. This is an error.
          * 
@@ -604,6 +796,8 @@ public enum ContainerType */ CONTAINER_TYPE_UNSPECIFIED(0), /** + * + * *
          * A regular deployment.
          * 
@@ -612,6 +806,8 @@ public enum ContainerType */ CONTAINER(1), /** + * + * *
          * Init container defined as specified at
          * https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
@@ -621,6 +817,8 @@ public enum ContainerType
          */
         INIT_CONTAINER(2),
         /**
+         *
+         *
          * 
          * Ephemeral container defined as specified at
          * https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/
@@ -633,6 +831,8 @@ public enum ContainerType
         ;
 
         /**
+         *
+         *
          * 
          * The container type should always be specified. This is an error.
          * 
@@ -641,6 +841,8 @@ public enum ContainerType */ public static final int CONTAINER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * A regular deployment.
          * 
@@ -649,6 +851,8 @@ public enum ContainerType */ public static final int CONTAINER_VALUE = 1; /** + * + * *
          * Init container defined as specified at
          * https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
@@ -658,6 +862,8 @@ public enum ContainerType
          */
         public static final int INIT_CONTAINER_VALUE = 2;
         /**
+         *
+         *
          * 
          * Ephemeral container defined as specified at
          * https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/
@@ -667,7 +873,6 @@ public enum ContainerType
          */
         public static final int EPHEMERAL_CONTAINER_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -692,11 +897,16 @@ public static ContainerType valueOf(int value) {
          */
         public static ContainerType forNumber(int value) {
           switch (value) {
-            case 0: return CONTAINER_TYPE_UNSPECIFIED;
-            case 1: return CONTAINER;
-            case 2: return INIT_CONTAINER;
-            case 3: return EPHEMERAL_CONTAINER;
-            default: return null;
+            case 0:
+              return CONTAINER_TYPE_UNSPECIFIED;
+            case 1:
+              return CONTAINER;
+            case 2:
+              return INIT_CONTAINER;
+            case 3:
+              return EPHEMERAL_CONTAINER;
+            default:
+              return null;
           }
         }
 
@@ -704,29 +914,32 @@ public static ContainerType forNumber(int value) {
             internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            ContainerType> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ContainerType findValueByNumber(int number) {
-                  return ContainerType.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 ContainerType findValueByNumber(int number) {
+                    return ContainerType.forNumber(number);
+                  }
+                };
+
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-        public final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptorForType() {
+
+        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
           return getDescriptor();
         }
-        public static final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptor() {
-          return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent
+              .ContinuousValidationPodEvent.ImageDetails.getDescriptor()
+              .getEnumTypes()
+              .get(0);
         }
 
         private static final ContainerType[] VALUES = values();
@@ -735,7 +948,7 @@ public static ContainerType valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-              "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -753,15 +966,19 @@ private ContainerType(int value) {
       }
 
       /**
+       *
+       *
        * 
        * Result of the audit.
        * 
* - * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult} + * Protobuf enum {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult} */ - public enum AuditResult - implements com.google.protobuf.ProtocolMessageEnum { + public enum AuditResult implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified result. This is an error.
          * 
@@ -770,6 +987,8 @@ public enum AuditResult */ AUDIT_RESULT_UNSPECIFIED(0), /** + * + * *
          * Image is allowed.
          * 
@@ -778,6 +997,8 @@ public enum AuditResult */ ALLOW(1), /** + * + * *
          * Image is denied.
          * 
@@ -789,6 +1010,8 @@ public enum AuditResult ; /** + * + * *
          * Unspecified result. This is an error.
          * 
@@ -797,6 +1020,8 @@ public enum AuditResult */ public static final int AUDIT_RESULT_UNSPECIFIED_VALUE = 0; /** + * + * *
          * Image is allowed.
          * 
@@ -805,6 +1030,8 @@ public enum AuditResult */ public static final int ALLOW_VALUE = 1; /** + * + * *
          * Image is denied.
          * 
@@ -813,7 +1040,6 @@ public enum AuditResult */ public static final int DENY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -838,40 +1064,46 @@ public static AuditResult valueOf(int value) { */ public static AuditResult forNumber(int value) { switch (value) { - case 0: return AUDIT_RESULT_UNSPECIFIED; - case 1: return ALLOW; - case 2: return DENY; - default: return null; + case 0: + return AUDIT_RESULT_UNSPECIFIED; + case 1: + return ALLOW; + case 2: + return DENY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AuditResult> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AuditResult findValueByNumber(int number) { - return AuditResult.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 AuditResult findValueByNumber(int number) { + return AuditResult.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.getDescriptor() + .getEnumTypes() + .get(1); } private static final AuditResult[] VALUES = values(); @@ -880,7 +1112,7 @@ public static AuditResult valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -897,188 +1129,251 @@ private AuditResult(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult) } - public interface CheckResultOrBuilder extends + public interface CheckResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
          * The index of the check set.
          * 
* * string check_set_index = 1; + * * @return The checkSetIndex. */ java.lang.String getCheckSetIndex(); /** + * + * *
          * The index of the check set.
          * 
* * string check_set_index = 1; + * * @return The bytes for checkSetIndex. */ - com.google.protobuf.ByteString - getCheckSetIndexBytes(); + com.google.protobuf.ByteString getCheckSetIndexBytes(); /** + * + * *
          * The name of the check set.
          * 
* * string check_set_name = 2; + * * @return The checkSetName. */ java.lang.String getCheckSetName(); /** + * + * *
          * The name of the check set.
          * 
* * string check_set_name = 2; + * * @return The bytes for checkSetName. */ - com.google.protobuf.ByteString - getCheckSetNameBytes(); + com.google.protobuf.ByteString getCheckSetNameBytes(); /** + * + * *
          * The scope of the check set.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * * @return Whether the checkSetScope field is set. */ boolean hasCheckSetScope(); /** + * + * *
          * The scope of the check set.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * * @return The checkSetScope. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getCheckSetScope(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + getCheckSetScope(); /** + * + * *
          * The scope of the check set.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder getCheckSetScopeOrBuilder(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder + getCheckSetScopeOrBuilder(); /** + * + * *
          * The index of the check.
          * 
* * string check_index = 4; + * * @return The checkIndex. */ java.lang.String getCheckIndex(); /** + * + * *
          * The index of the check.
          * 
* * string check_index = 4; + * * @return The bytes for checkIndex. */ - com.google.protobuf.ByteString - getCheckIndexBytes(); + com.google.protobuf.ByteString getCheckIndexBytes(); /** + * + * *
          * The name of the check.
          * 
* * string check_name = 5; + * * @return The checkName. */ java.lang.String getCheckName(); /** + * + * *
          * The name of the check.
          * 
* * string check_name = 5; + * * @return The bytes for checkName. */ - com.google.protobuf.ByteString - getCheckNameBytes(); + com.google.protobuf.ByteString getCheckNameBytes(); /** + * + * *
          * The type of the check.
          * 
* * string check_type = 6; + * * @return The checkType. */ java.lang.String getCheckType(); /** + * + * *
          * The type of the check.
          * 
* * string check_type = 6; + * * @return The bytes for checkType. */ - com.google.protobuf.ByteString - getCheckTypeBytes(); + com.google.protobuf.ByteString getCheckTypeBytes(); /** + * + * *
          * The verdict of this check.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @return The enum numeric value on the wire for verdict. */ int getVerdictValue(); /** + * + * *
          * The verdict of this check.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @return The verdict. */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict getVerdict(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + getVerdict(); /** + * + * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; + * * @return The explanation. */ java.lang.String getExplanation(); /** + * + * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; + * * @return The bytes for explanation. */ - com.google.protobuf.ByteString - getExplanationBytes(); + com.google.protobuf.ByteString getExplanationBytes(); } /** - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} */ - public static final class CheckResult extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CheckResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) CheckResultOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckResult.newBuilder() to construct. private CheckResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CheckResult() { checkSetIndex_ = ""; checkSetName_ = ""; @@ -1091,34 +1386,41 @@ private CheckResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); } /** + * + * *
          * Result of evaluating one check.
          * 
* - * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict} + * Protobuf enum {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict} */ - public enum CheckVerdict - implements com.google.protobuf.ProtocolMessageEnum { + public enum CheckVerdict implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
            * We should always have a verdict. This is an error.
            * 
@@ -1127,6 +1429,8 @@ public enum CheckVerdict */ CHECK_VERDICT_UNSPECIFIED(0), /** + * + * *
            * The check was successfully evaluated and the image did not satisfy
            * the check.
@@ -1139,6 +1443,8 @@ public enum CheckVerdict
           ;
 
           /**
+           *
+           *
            * 
            * We should always have a verdict. This is an error.
            * 
@@ -1147,6 +1453,8 @@ public enum CheckVerdict */ public static final int CHECK_VERDICT_UNSPECIFIED_VALUE = 0; /** + * + * *
            * The check was successfully evaluated and the image did not satisfy
            * the check.
@@ -1156,7 +1464,6 @@ public enum CheckVerdict
            */
           public static final int NON_CONFORMANT_VALUE = 1;
 
-
           public final int getNumber() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalArgumentException(
@@ -1181,9 +1488,12 @@ public static CheckVerdict valueOf(int value) {
            */
           public static CheckVerdict forNumber(int value) {
             switch (value) {
-              case 0: return CHECK_VERDICT_UNSPECIFIED;
-              case 1: return NON_CONFORMANT;
-              default: return null;
+              case 0:
+                return CHECK_VERDICT_UNSPECIFIED;
+              case 1:
+                return NON_CONFORMANT;
+              default:
+                return null;
             }
           }
 
@@ -1191,29 +1501,32 @@ public static CheckVerdict forNumber(int value) {
               internalGetValueMap() {
             return internalValueMap;
           }
-          private static final com.google.protobuf.Internal.EnumLiteMap<
-              CheckVerdict> internalValueMap =
-                new com.google.protobuf.Internal.EnumLiteMap() {
-                  public CheckVerdict findValueByNumber(int number) {
-                    return CheckVerdict.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 CheckVerdict findValueByNumber(int number) {
+                      return CheckVerdict.forNumber(number);
+                    }
+                  };
+
+          public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
             if (this == UNRECOGNIZED) {
               throw new java.lang.IllegalStateException(
                   "Can't get the descriptor of an unrecognized enum value.");
             }
             return getDescriptor().getValues().get(ordinal());
           }
-          public final com.google.protobuf.Descriptors.EnumDescriptor
-              getDescriptorForType() {
+
+          public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
             return getDescriptor();
           }
-          public static final com.google.protobuf.Descriptors.EnumDescriptor
-              getDescriptor() {
-            return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDescriptor().getEnumTypes().get(0);
+
+          public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+            return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent
+                .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDescriptor()
+                .getEnumTypes()
+                .get(0);
           }
 
           private static final CheckVerdict[] VALUES = values();
@@ -1222,7 +1535,7 @@ public static CheckVerdict valueOf(
               com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
             if (desc.getType() != getDescriptor()) {
               throw new java.lang.IllegalArgumentException(
-                "EnumValueDescriptor is not for this type.");
+                  "EnumValueDescriptor is not for this type.");
             }
             if (desc.getIndex() == -1) {
               return UNRECOGNIZED;
@@ -1239,12 +1552,15 @@ private CheckVerdict(int value) {
           // @@protoc_insertion_point(enum_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict)
         }
 
-        public interface CheckSetScopeOrBuilder extends
+        public interface CheckSetScopeOrBuilder
+            extends
             // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)
             com.google.protobuf.MessageOrBuilder {
 
           /**
-           * 
+           *
+           *
+           * 
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
            * `kubernetes_service_account` scope is always more specific than
@@ -1252,10 +1568,13 @@ public interface CheckSetScopeOrBuilder extends
            * 
* * string kubernetes_service_account = 1; + * * @return Whether the kubernetesServiceAccount field is set. */ boolean hasKubernetesServiceAccount(); /** + * + * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1264,10 +1583,13 @@ public interface CheckSetScopeOrBuilder extends
            * 
* * string kubernetes_service_account = 1; + * * @return The kubernetesServiceAccount. */ java.lang.String getKubernetesServiceAccount(); /** + * + * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1276,12 +1598,14 @@ public interface CheckSetScopeOrBuilder extends
            * 
* * string kubernetes_service_account = 1; + * * @return The bytes for kubernetesServiceAccount. */ - com.google.protobuf.ByteString - getKubernetesServiceAccountBytes(); + com.google.protobuf.ByteString getKubernetesServiceAccountBytes(); /** + * + * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1289,10 +1613,13 @@ public interface CheckSetScopeOrBuilder extends
            * 
* * string kubernetes_namespace = 2; + * * @return Whether the kubernetesNamespace field is set. */ boolean hasKubernetesNamespace(); /** + * + * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1300,10 +1627,13 @@ public interface CheckSetScopeOrBuilder extends
            * 
* * string kubernetes_namespace = 2; + * * @return The kubernetesNamespace. */ java.lang.String getKubernetesNamespace(); /** + * + * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1311,62 +1641,75 @@ public interface CheckSetScopeOrBuilder extends
            * 
* * string kubernetes_namespace = 2; + * * @return The bytes for kubernetesNamespace. */ - com.google.protobuf.ByteString - getKubernetesNamespaceBytes(); + com.google.protobuf.ByteString getKubernetesNamespaceBytes(); - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.ScopeCase getScopeCase(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.ScopeCase + getScopeCase(); } /** + * + * *
          * A scope specifier for check sets.
          * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} */ - public static final class CheckSetScope extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CheckSetScope extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) CheckSetScopeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CheckSetScope.newBuilder() to construct. private CheckSetScope(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckSetScope() { - } + + private CheckSetScope() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CheckSetScope(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder + .class); } private int scopeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object scope_; + public enum ScopeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { KUBERNETES_SERVICE_ACCOUNT(1), KUBERNETES_NAMESPACE(2), SCOPE_NOT_SET(0); private final int value; + private ScopeCase(int value) { this.value = value; } @@ -1382,25 +1725,30 @@ public static ScopeCase valueOf(int value) { public static ScopeCase forNumber(int value) { switch (value) { - case 1: return KUBERNETES_SERVICE_ACCOUNT; - case 2: return KUBERNETES_NAMESPACE; - case 0: return SCOPE_NOT_SET; - default: return null; + case 1: + return KUBERNETES_SERVICE_ACCOUNT; + case 2: + return KUBERNETES_NAMESPACE; + case 0: + return SCOPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ScopeCase - getScopeCase() { - return ScopeCase.forNumber( - scopeCase_); + public ScopeCase getScopeCase() { + return ScopeCase.forNumber(scopeCase_); } public static final int KUBERNETES_SERVICE_ACCOUNT_FIELD_NUMBER = 1; /** + * + * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1409,12 +1757,15 @@ public int getNumber() {
            * 
* * string kubernetes_service_account = 1; + * * @return Whether the kubernetesServiceAccount field is set. */ public boolean hasKubernetesServiceAccount() { return scopeCase_ == 1; } /** + * + * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1423,6 +1774,7 @@ public boolean hasKubernetesServiceAccount() {
            * 
* * string kubernetes_service_account = 1; + * * @return The kubernetesServiceAccount. */ public java.lang.String getKubernetesServiceAccount() { @@ -1433,8 +1785,7 @@ public java.lang.String getKubernetesServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 1) { scope_ = s; @@ -1443,6 +1794,8 @@ public java.lang.String getKubernetesServiceAccount() { } } /** + * + * *
            * Matches a single Kubernetes service account, e.g.
            * 'my-namespace:my-service-account'.
@@ -1451,18 +1804,17 @@ public java.lang.String getKubernetesServiceAccount() {
            * 
* * string kubernetes_service_account = 1; + * * @return The bytes for kubernetesServiceAccount. */ - public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { + public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() { java.lang.Object ref = ""; if (scopeCase_ == 1) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 1) { scope_ = b; } @@ -1474,6 +1826,8 @@ public java.lang.String getKubernetesServiceAccount() { public static final int KUBERNETES_NAMESPACE_FIELD_NUMBER = 2; /** + * + * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1481,12 +1835,15 @@ public java.lang.String getKubernetesServiceAccount() {
            * 
* * string kubernetes_namespace = 2; + * * @return Whether the kubernetesNamespace field is set. */ public boolean hasKubernetesNamespace() { return scopeCase_ == 2; } /** + * + * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1494,6 +1851,7 @@ public boolean hasKubernetesNamespace() {
            * 
* * string kubernetes_namespace = 2; + * * @return The kubernetesNamespace. */ public java.lang.String getKubernetesNamespace() { @@ -1504,8 +1862,7 @@ public java.lang.String getKubernetesNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 2) { scope_ = s; @@ -1514,6 +1871,8 @@ public java.lang.String getKubernetesNamespace() { } } /** + * + * *
            * Matches all Kubernetes service accounts in the provided
            * namespace, unless a more specific `kubernetes_service_account`
@@ -1521,18 +1880,17 @@ public java.lang.String getKubernetesNamespace() {
            * 
* * string kubernetes_namespace = 2; + * * @return The bytes for kubernetesNamespace. */ - public com.google.protobuf.ByteString - getKubernetesNamespaceBytes() { + public com.google.protobuf.ByteString getKubernetesNamespaceBytes() { java.lang.Object ref = ""; if (scopeCase_ == 2) { ref = scope_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 2) { scope_ = b; } @@ -1543,6 +1901,7 @@ public java.lang.String getKubernetesNamespace() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1555,7 +1914,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (scopeCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_); } @@ -1585,22 +1944,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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)) { + if (!(obj + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + other = + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) + obj; if (!getScopeCase().equals(other.getScopeCase())) return false; switch (scopeCase_) { case 1: - if (!getKubernetesServiceAccount() - .equals(other.getKubernetesServiceAccount())) return false; + if (!getKubernetesServiceAccount().equals(other.getKubernetesServiceAccount())) + return false; break; case 2: - if (!getKubernetesNamespace() - .equals(other.getKubernetesNamespace())) return false; + if (!getKubernetesNamespace().equals(other.getKubernetesNamespace())) return false; break; case 0: default: @@ -1633,90 +1999,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1726,39 +2121,48 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
            * A scope specifier for check sets.
            * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1769,19 +2173,27 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1789,19 +2201,34 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + result = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope result) { + private void buildPartialOneofs( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + result) { result.scopeCase_ = scopeCase_; result.scope_ = this.scope_; } @@ -1810,62 +2237,80 @@ private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.Con public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope)other); + if (other + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) { + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .getDefaultInstance()) return this; switch (other.getScopeCase()) { - case KUBERNETES_SERVICE_ACCOUNT: { - scopeCase_ = 1; - scope_ = other.scope_; - onChanged(); - break; - } - case KUBERNETES_NAMESPACE: { - scopeCase_ = 2; - scope_ = other.scope_; - onChanged(); - break; - } - case SCOPE_NOT_SET: { - break; - } + case KUBERNETES_SERVICE_ACCOUNT: + { + scopeCase_ = 1; + scope_ = other.scope_; + onChanged(); + break; + } + case KUBERNETES_NAMESPACE: + { + scopeCase_ = 2; + scope_ = other.scope_; + onChanged(); + break; + } + case SCOPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1893,24 +2338,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - scopeCase_ = 1; - scope_ = s; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - scopeCase_ = 2; - scope_ = s; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + scopeCase_ = 1; + scope_ = s; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + scopeCase_ = 2; + scope_ = s; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1920,12 +2368,12 @@ public Builder mergeFrom( } // finally return this; } + private int scopeCase_ = 0; private java.lang.Object scope_; - public ScopeCase - getScopeCase() { - return ScopeCase.forNumber( - scopeCase_); + + public ScopeCase getScopeCase() { + return ScopeCase.forNumber(scopeCase_); } public Builder clearScope() { @@ -1938,6 +2386,8 @@ public Builder clearScope() { private int bitField0_; /** + * + * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -1946,6 +2396,7 @@ public Builder clearScope() {
              * 
* * string kubernetes_service_account = 1; + * * @return Whether the kubernetesServiceAccount field is set. */ @java.lang.Override @@ -1953,6 +2404,8 @@ public boolean hasKubernetesServiceAccount() { return scopeCase_ == 1; } /** + * + * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -1961,6 +2414,7 @@ public boolean hasKubernetesServiceAccount() {
              * 
* * string kubernetes_service_account = 1; + * * @return The kubernetesServiceAccount. */ @java.lang.Override @@ -1970,8 +2424,7 @@ public java.lang.String getKubernetesServiceAccount() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 1) { scope_ = s; @@ -1982,6 +2435,8 @@ public java.lang.String getKubernetesServiceAccount() { } } /** + * + * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -1990,19 +2445,18 @@ public java.lang.String getKubernetesServiceAccount() {
              * 
* * string kubernetes_service_account = 1; + * * @return The bytes for kubernetesServiceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getKubernetesServiceAccountBytes() { + public com.google.protobuf.ByteString getKubernetesServiceAccountBytes() { java.lang.Object ref = ""; if (scopeCase_ == 1) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 1) { scope_ = b; } @@ -2012,6 +2466,8 @@ public java.lang.String getKubernetesServiceAccount() { } } /** + * + * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2020,18 +2476,22 @@ public java.lang.String getKubernetesServiceAccount() {
              * 
* * string kubernetes_service_account = 1; + * * @param value The kubernetesServiceAccount to set. * @return This builder for chaining. */ - public Builder setKubernetesServiceAccount( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKubernetesServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scopeCase_ = 1; scope_ = value; onChanged(); return this; } /** + * + * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2040,6 +2500,7 @@ public Builder setKubernetesServiceAccount(
              * 
* * string kubernetes_service_account = 1; + * * @return This builder for chaining. */ public Builder clearKubernetesServiceAccount() { @@ -2051,6 +2512,8 @@ public Builder clearKubernetesServiceAccount() { return this; } /** + * + * *
              * Matches a single Kubernetes service account, e.g.
              * 'my-namespace:my-service-account'.
@@ -2059,12 +2522,14 @@ public Builder clearKubernetesServiceAccount() {
              * 
* * string kubernetes_service_account = 1; + * * @param value The bytes for kubernetesServiceAccount to set. * @return This builder for chaining. */ - public Builder setKubernetesServiceAccountBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKubernetesServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scopeCase_ = 1; scope_ = value; @@ -2073,6 +2538,8 @@ public Builder setKubernetesServiceAccountBytes( } /** + * + * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2080,6 +2547,7 @@ public Builder setKubernetesServiceAccountBytes(
              * 
* * string kubernetes_namespace = 2; + * * @return Whether the kubernetesNamespace field is set. */ @java.lang.Override @@ -2087,6 +2555,8 @@ public boolean hasKubernetesNamespace() { return scopeCase_ == 2; } /** + * + * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2094,6 +2564,7 @@ public boolean hasKubernetesNamespace() {
              * 
* * string kubernetes_namespace = 2; + * * @return The kubernetesNamespace. */ @java.lang.Override @@ -2103,8 +2574,7 @@ public java.lang.String getKubernetesNamespace() { ref = scope_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (scopeCase_ == 2) { scope_ = s; @@ -2115,6 +2585,8 @@ public java.lang.String getKubernetesNamespace() { } } /** + * + * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2122,19 +2594,18 @@ public java.lang.String getKubernetesNamespace() {
              * 
* * string kubernetes_namespace = 2; + * * @return The bytes for kubernetesNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString - getKubernetesNamespaceBytes() { + public com.google.protobuf.ByteString getKubernetesNamespaceBytes() { java.lang.Object ref = ""; if (scopeCase_ == 2) { ref = scope_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (scopeCase_ == 2) { scope_ = b; } @@ -2144,6 +2615,8 @@ public java.lang.String getKubernetesNamespace() { } } /** + * + * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2151,18 +2624,22 @@ public java.lang.String getKubernetesNamespace() {
              * 
* * string kubernetes_namespace = 2; + * * @param value The kubernetesNamespace to set. * @return This builder for chaining. */ - public Builder setKubernetesNamespace( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKubernetesNamespace(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } scopeCase_ = 2; scope_ = value; onChanged(); return this; } /** + * + * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2170,6 +2647,7 @@ public Builder setKubernetesNamespace(
              * 
* * string kubernetes_namespace = 2; + * * @return This builder for chaining. */ public Builder clearKubernetesNamespace() { @@ -2181,6 +2659,8 @@ public Builder clearKubernetesNamespace() { return this; } /** + * + * *
              * Matches all Kubernetes service accounts in the provided
              * namespace, unless a more specific `kubernetes_service_account`
@@ -2188,18 +2668,21 @@ public Builder clearKubernetesNamespace() {
              * 
* * string kubernetes_namespace = 2; + * * @param value The bytes for kubernetesNamespace to set. * @return This builder for chaining. */ - public Builder setKubernetesNamespaceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKubernetesNamespaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); scopeCase_ = 2; scope_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2212,41 +2695,49 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1 + .ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult + .CheckSetScope + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope(); + DEFAULT_INSTANCE = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckSetScope parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckSetScope parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2258,21 +2749,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CHECK_SET_INDEX_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object checkSetIndex_ = ""; /** + * + * *
          * The index of the check set.
          * 
* * string check_set_index = 1; + * * @return The checkSetIndex. */ @java.lang.Override @@ -2281,29 +2777,29 @@ public java.lang.String getCheckSetIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetIndex_ = s; return s; } } /** + * + * *
          * The index of the check set.
          * 
* * string check_set_index = 1; + * * @return The bytes for checkSetIndex. */ @java.lang.Override - public com.google.protobuf.ByteString - getCheckSetIndexBytes() { + public com.google.protobuf.ByteString getCheckSetIndexBytes() { java.lang.Object ref = checkSetIndex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkSetIndex_ = b; return b; } else { @@ -2312,14 +2808,18 @@ public java.lang.String getCheckSetIndex() { } public static final int CHECK_SET_NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object checkSetName_ = ""; /** + * + * *
          * The name of the check set.
          * 
* * string check_set_name = 2; + * * @return The checkSetName. */ @java.lang.Override @@ -2328,29 +2828,29 @@ public java.lang.String getCheckSetName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetName_ = s; return s; } } /** + * + * *
          * The name of the check set.
          * 
* * string check_set_name = 2; + * * @return The bytes for checkSetName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCheckSetNameBytes() { + public com.google.protobuf.ByteString getCheckSetNameBytes() { java.lang.Object ref = checkSetName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkSetName_ = b; return b; } else { @@ -2359,13 +2859,20 @@ public java.lang.String getCheckSetName() { } public static final int CHECK_SET_SCOPE_FIELD_NUMBER = 3; - private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope checkSetScope_; + private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + checkSetScope_; /** + * + * *
          * The scope of the check set.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * * @return Whether the checkSetScope field is set. */ @java.lang.Override @@ -2373,38 +2880,63 @@ public boolean hasCheckSetScope() { return checkSetScope_ != null; } /** + * + * *
          * The scope of the check set.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * * @return The checkSetScope. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getCheckSetScope() { - return checkSetScope_ == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + getCheckSetScope() { + return checkSetScope_ == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .getDefaultInstance() + : checkSetScope_; } /** + * + * *
          * The scope of the check set.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder getCheckSetScopeOrBuilder() { - return checkSetScope_ == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder + getCheckSetScopeOrBuilder() { + return checkSetScope_ == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .getDefaultInstance() + : checkSetScope_; } public static final int CHECK_INDEX_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object checkIndex_ = ""; /** + * + * *
          * The index of the check.
          * 
* * string check_index = 4; + * * @return The checkIndex. */ @java.lang.Override @@ -2413,29 +2945,29 @@ public java.lang.String getCheckIndex() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkIndex_ = s; return s; } } /** + * + * *
          * The index of the check.
          * 
* * string check_index = 4; + * * @return The bytes for checkIndex. */ @java.lang.Override - public com.google.protobuf.ByteString - getCheckIndexBytes() { + public com.google.protobuf.ByteString getCheckIndexBytes() { java.lang.Object ref = checkIndex_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkIndex_ = b; return b; } else { @@ -2444,14 +2976,18 @@ public java.lang.String getCheckIndex() { } public static final int CHECK_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object checkName_ = ""; /** + * + * *
          * The name of the check.
          * 
* * string check_name = 5; + * * @return The checkName. */ @java.lang.Override @@ -2460,29 +2996,29 @@ public java.lang.String getCheckName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkName_ = s; return s; } } /** + * + * *
          * The name of the check.
          * 
* * string check_name = 5; + * * @return The bytes for checkName. */ @java.lang.Override - public com.google.protobuf.ByteString - getCheckNameBytes() { + public com.google.protobuf.ByteString getCheckNameBytes() { java.lang.Object ref = checkName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkName_ = b; return b; } else { @@ -2491,14 +3027,18 @@ public java.lang.String getCheckName() { } public static final int CHECK_TYPE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object checkType_ = ""; /** + * + * *
          * The type of the check.
          * 
* * string check_type = 6; + * * @return The checkType. */ @java.lang.Override @@ -2507,29 +3047,29 @@ public java.lang.String getCheckType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkType_ = s; return s; } } /** + * + * *
          * The type of the check.
          * 
* * string check_type = 6; + * * @return The bytes for checkType. */ @java.lang.Override - public com.google.protobuf.ByteString - getCheckTypeBytes() { + public com.google.protobuf.ByteString getCheckTypeBytes() { java.lang.Object ref = checkType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkType_ = b; return b; } else { @@ -2540,38 +3080,64 @@ public java.lang.String getCheckType() { public static final int VERDICT_FIELD_NUMBER = 7; private int verdict_ = 0; /** + * + * *
          * The verdict of this check.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override public int getVerdictValue() { + @java.lang.Override + public int getVerdictValue() { return verdict_; } /** + * + * *
          * The verdict of this check.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @return The verdict. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.forNumber(verdict_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.forNumber( + verdict_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED + : result; } public static final int EXPLANATION_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object explanation_ = ""; /** + * + * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; + * * @return The explanation. */ @java.lang.Override @@ -2580,29 +3146,29 @@ public java.lang.String getExplanation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); explanation_ = s; return s; } } /** + * + * *
          * User-friendly explanation of this check result.
          * 
* * string explanation = 8; + * * @return The bytes for explanation. */ @java.lang.Override - public com.google.protobuf.ByteString - getExplanationBytes() { + public com.google.protobuf.ByteString getExplanationBytes() { java.lang.Object ref = explanation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); explanation_ = b; return b; } else { @@ -2611,6 +3177,7 @@ public java.lang.String getExplanation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2623,7 +3190,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkSetIndex_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, checkSetIndex_); } @@ -2642,7 +3209,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, checkType_); } - if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.CHECK_VERDICT_UNSPECIFIED.getNumber()) { + if (verdict_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + .CHECK_VERDICT_UNSPECIFIED + .getNumber()) { output.writeEnum(7, verdict_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(explanation_)) { @@ -2664,8 +3235,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, checkSetName_); } if (checkSetScope_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCheckSetScope()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCheckSetScope()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkIndex_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, checkIndex_); @@ -2676,9 +3246,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(checkType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, checkType_); } - if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.CHECK_VERDICT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, verdict_); + if (verdict_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + .CHECK_VERDICT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, verdict_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(explanation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, explanation_); @@ -2691,31 +3264,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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult)) { + if (!(obj + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + other = + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult) + obj; - if (!getCheckSetIndex() - .equals(other.getCheckSetIndex())) return false; - if (!getCheckSetName() - .equals(other.getCheckSetName())) return false; + if (!getCheckSetIndex().equals(other.getCheckSetIndex())) return false; + if (!getCheckSetName().equals(other.getCheckSetName())) return false; if (hasCheckSetScope() != other.hasCheckSetScope()) return false; if (hasCheckSetScope()) { - if (!getCheckSetScope() - .equals(other.getCheckSetScope())) return false; - } - if (!getCheckIndex() - .equals(other.getCheckIndex())) return false; - if (!getCheckName() - .equals(other.getCheckName())) return false; - if (!getCheckType() - .equals(other.getCheckType())) return false; + if (!getCheckSetScope().equals(other.getCheckSetScope())) return false; + } + if (!getCheckIndex().equals(other.getCheckIndex())) return false; + if (!getCheckName().equals(other.getCheckName())) return false; + if (!getCheckType().equals(other.getCheckType())) return false; if (verdict_ != other.verdict_) return false; - if (!getExplanation() - .equals(other.getExplanation())) return false; + if (!getExplanation().equals(other.getExplanation())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2750,90 +3324,119 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2843,35 +3446,40 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2892,19 +3500,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2912,14 +3527,25 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + result = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.checkSetIndex_ = checkSetIndex_; @@ -2928,9 +3554,8 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Continuo result.checkSetName_ = checkSetName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.checkSetScope_ = checkSetScopeBuilder_ == null - ? checkSetScope_ - : checkSetScopeBuilder_.build(); + result.checkSetScope_ = + checkSetScopeBuilder_ == null ? checkSetScope_ : checkSetScopeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.checkIndex_ = checkIndex_; @@ -2953,46 +3578,61 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Continuo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult)other); + if (other + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult) { + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()) + return this; if (!other.getCheckSetIndex().isEmpty()) { checkSetIndex_ = other.checkSetIndex_; bitField0_ |= 0x00000001; @@ -3055,54 +3695,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - checkSetIndex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - checkSetName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getCheckSetScopeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - checkIndex_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - checkName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - checkType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - verdict_ = input.readEnum(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - explanation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + checkSetIndex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + checkSetName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getCheckSetScopeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + checkIndex_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + checkName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + checkType_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + verdict_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + explanation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3112,22 +3760,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object checkSetIndex_ = ""; /** + * + * *
            * The index of the check set.
            * 
* * string check_set_index = 1; + * * @return The checkSetIndex. */ public java.lang.String getCheckSetIndex() { java.lang.Object ref = checkSetIndex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetIndex_ = s; return s; @@ -3136,20 +3787,21 @@ public java.lang.String getCheckSetIndex() { } } /** + * + * *
            * The index of the check set.
            * 
* * string check_set_index = 1; + * * @return The bytes for checkSetIndex. */ - public com.google.protobuf.ByteString - getCheckSetIndexBytes() { + public com.google.protobuf.ByteString getCheckSetIndexBytes() { java.lang.Object ref = checkSetIndex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkSetIndex_ = b; return b; } else { @@ -3157,28 +3809,35 @@ public java.lang.String getCheckSetIndex() { } } /** + * + * *
            * The index of the check set.
            * 
* * string check_set_index = 1; + * * @param value The checkSetIndex to set. * @return This builder for chaining. */ - public Builder setCheckSetIndex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckSetIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } checkSetIndex_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
            * The index of the check set.
            * 
* * string check_set_index = 1; + * * @return This builder for chaining. */ public Builder clearCheckSetIndex() { @@ -3188,17 +3847,21 @@ public Builder clearCheckSetIndex() { return this; } /** + * + * *
            * The index of the check set.
            * 
* * string check_set_index = 1; + * * @param value The bytes for checkSetIndex to set. * @return This builder for chaining. */ - public Builder setCheckSetIndexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckSetIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); checkSetIndex_ = value; bitField0_ |= 0x00000001; @@ -3208,18 +3871,20 @@ public Builder setCheckSetIndexBytes( private java.lang.Object checkSetName_ = ""; /** + * + * *
            * The name of the check set.
            * 
* * string check_set_name = 2; + * * @return The checkSetName. */ public java.lang.String getCheckSetName() { java.lang.Object ref = checkSetName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkSetName_ = s; return s; @@ -3228,20 +3893,21 @@ public java.lang.String getCheckSetName() { } } /** + * + * *
            * The name of the check set.
            * 
* * string check_set_name = 2; + * * @return The bytes for checkSetName. */ - public com.google.protobuf.ByteString - getCheckSetNameBytes() { + public com.google.protobuf.ByteString getCheckSetNameBytes() { java.lang.Object ref = checkSetName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkSetName_ = b; return b; } else { @@ -3249,28 +3915,35 @@ public java.lang.String getCheckSetName() { } } /** + * + * *
            * The name of the check set.
            * 
* * string check_set_name = 2; + * * @param value The checkSetName to set. * @return This builder for chaining. */ - public Builder setCheckSetName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckSetName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } checkSetName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
            * The name of the check set.
            * 
* * string check_set_name = 2; + * * @return This builder for chaining. */ public Builder clearCheckSetName() { @@ -3280,17 +3953,21 @@ public Builder clearCheckSetName() { return this; } /** + * + * *
            * The name of the check set.
            * 
* * string check_set_name = 2; + * * @param value The bytes for checkSetName to set. * @return This builder for chaining. */ - public Builder setCheckSetNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckSetNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); checkSetName_ = value; bitField0_ |= 0x00000002; @@ -3298,43 +3975,74 @@ public Builder setCheckSetNameBytes( return this; } - private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope checkSetScope_; + private com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + checkSetScope_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> checkSetScopeBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> + checkSetScopeBuilder_; /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * * @return Whether the checkSetScope field is set. */ public boolean hasCheckSetScope() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * * @return The checkSetScope. */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getCheckSetScope() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + getCheckSetScope() { if (checkSetScopeBuilder_ == null) { - return checkSetScope_ == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; + return checkSetScope_ == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .getDefaultInstance() + : checkSetScope_; } else { return checkSetScopeBuilder_.getMessage(); } } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ - public Builder setCheckSetScope(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope value) { + public Builder setCheckSetScope( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + value) { if (checkSetScopeBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3348,14 +4056,20 @@ public Builder setCheckSetScope(com.google.cloud.binaryauthorization.v1beta1.Con return this; } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ public Builder setCheckSetScope( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder + builderForValue) { if (checkSetScopeBuilder_ == null) { checkSetScope_ = builderForValue.build(); } else { @@ -3366,17 +4080,27 @@ public Builder setCheckSetScope( return this; } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ - public Builder mergeCheckSetScope(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope value) { + public Builder mergeCheckSetScope( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + value) { if (checkSetScopeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - checkSetScope_ != null && - checkSetScope_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && checkSetScope_ != null + && checkSetScope_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .getDefaultInstance()) { getCheckSetScopeBuilder().mergeFrom(value); } else { checkSetScope_ = value; @@ -3389,11 +4113,15 @@ public Builder mergeCheckSetScope(com.google.cloud.binaryauthorization.v1beta1.C return this; } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ public Builder clearCheckSetScope() { bitField0_ = (bitField0_ & ~0x00000004); @@ -3406,48 +4134,78 @@ public Builder clearCheckSetScope() { return this; } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder getCheckSetScopeBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder + getCheckSetScopeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCheckSetScopeFieldBuilder().getBuilder(); } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder getCheckSetScopeOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder + getCheckSetScopeOrBuilder() { if (checkSetScopeBuilder_ != null) { return checkSetScopeBuilder_.getMessageOrBuilder(); } else { - return checkSetScope_ == null ? - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.getDefaultInstance() : checkSetScope_; + return checkSetScope_ == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .getDefaultInstance() + : checkSetScope_; } } /** + * + * *
            * The scope of the check set.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope check_set_scope = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder> getCheckSetScopeFieldBuilder() { if (checkSetScopeBuilder_ == null) { - checkSetScopeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder>( - getCheckSetScope(), - getParentForChildren(), - isClean()); + checkSetScopeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope + .Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + .CheckSetScopeOrBuilder>( + getCheckSetScope(), getParentForChildren(), isClean()); checkSetScope_ = null; } return checkSetScopeBuilder_; @@ -3455,18 +4213,20 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co private java.lang.Object checkIndex_ = ""; /** + * + * *
            * The index of the check.
            * 
* * string check_index = 4; + * * @return The checkIndex. */ public java.lang.String getCheckIndex() { java.lang.Object ref = checkIndex_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkIndex_ = s; return s; @@ -3475,20 +4235,21 @@ public java.lang.String getCheckIndex() { } } /** + * + * *
            * The index of the check.
            * 
* * string check_index = 4; + * * @return The bytes for checkIndex. */ - public com.google.protobuf.ByteString - getCheckIndexBytes() { + public com.google.protobuf.ByteString getCheckIndexBytes() { java.lang.Object ref = checkIndex_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkIndex_ = b; return b; } else { @@ -3496,28 +4257,35 @@ public java.lang.String getCheckIndex() { } } /** + * + * *
            * The index of the check.
            * 
* * string check_index = 4; + * * @param value The checkIndex to set. * @return This builder for chaining. */ - public Builder setCheckIndex( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckIndex(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } checkIndex_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
            * The index of the check.
            * 
* * string check_index = 4; + * * @return This builder for chaining. */ public Builder clearCheckIndex() { @@ -3527,17 +4295,21 @@ public Builder clearCheckIndex() { return this; } /** + * + * *
            * The index of the check.
            * 
* * string check_index = 4; + * * @param value The bytes for checkIndex to set. * @return This builder for chaining. */ - public Builder setCheckIndexBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckIndexBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); checkIndex_ = value; bitField0_ |= 0x00000008; @@ -3547,18 +4319,20 @@ public Builder setCheckIndexBytes( private java.lang.Object checkName_ = ""; /** + * + * *
            * The name of the check.
            * 
* * string check_name = 5; + * * @return The checkName. */ public java.lang.String getCheckName() { java.lang.Object ref = checkName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkName_ = s; return s; @@ -3567,20 +4341,21 @@ public java.lang.String getCheckName() { } } /** + * + * *
            * The name of the check.
            * 
* * string check_name = 5; + * * @return The bytes for checkName. */ - public com.google.protobuf.ByteString - getCheckNameBytes() { + public com.google.protobuf.ByteString getCheckNameBytes() { java.lang.Object ref = checkName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkName_ = b; return b; } else { @@ -3588,28 +4363,35 @@ public java.lang.String getCheckName() { } } /** + * + * *
            * The name of the check.
            * 
* * string check_name = 5; + * * @param value The checkName to set. * @return This builder for chaining. */ - public Builder setCheckName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } checkName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
            * The name of the check.
            * 
* * string check_name = 5; + * * @return This builder for chaining. */ public Builder clearCheckName() { @@ -3619,17 +4401,21 @@ public Builder clearCheckName() { return this; } /** + * + * *
            * The name of the check.
            * 
* * string check_name = 5; + * * @param value The bytes for checkName to set. * @return This builder for chaining. */ - public Builder setCheckNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); checkName_ = value; bitField0_ |= 0x00000010; @@ -3639,18 +4425,20 @@ public Builder setCheckNameBytes( private java.lang.Object checkType_ = ""; /** + * + * *
            * The type of the check.
            * 
* * string check_type = 6; + * * @return The checkType. */ public java.lang.String getCheckType() { java.lang.Object ref = checkType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkType_ = s; return s; @@ -3659,20 +4447,21 @@ public java.lang.String getCheckType() { } } /** + * + * *
            * The type of the check.
            * 
* * string check_type = 6; + * * @return The bytes for checkType. */ - public com.google.protobuf.ByteString - getCheckTypeBytes() { + public com.google.protobuf.ByteString getCheckTypeBytes() { java.lang.Object ref = checkType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); checkType_ = b; return b; } else { @@ -3680,28 +4469,35 @@ public java.lang.String getCheckType() { } } /** + * + * *
            * The type of the check.
            * 
* * string check_type = 6; + * * @param value The checkType to set. * @return This builder for chaining. */ - public Builder setCheckType( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckType(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } checkType_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
            * The type of the check.
            * 
* * string check_type = 6; + * * @return This builder for chaining. */ public Builder clearCheckType() { @@ -3711,17 +4507,21 @@ public Builder clearCheckType() { return this; } /** + * + * *
            * The type of the check.
            * 
* * string check_type = 6; + * * @param value The bytes for checkType to set. * @return This builder for chaining. */ - public Builder setCheckTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCheckTypeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); checkType_ = value; bitField0_ |= 0x00000020; @@ -3731,22 +4531,33 @@ public Builder setCheckTypeBytes( private int verdict_ = 0; /** + * + * *
            * The verdict of this check.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override public int getVerdictValue() { + @java.lang.Override + public int getVerdictValue() { return verdict_; } /** + * + * *
            * The verdict of this check.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @param value The enum numeric value on the wire for verdict to set. * @return This builder for chaining. */ @@ -3757,28 +4568,51 @@ public Builder setVerdictValue(int value) { return this; } /** + * + * *
            * The verdict of this check.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @return The verdict. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.forNumber(verdict_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + .forNumber(verdict_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict.UNRECOGNIZED + : result; } /** + * + * *
            * The verdict of this check.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @param value The verdict to set. * @return This builder for chaining. */ - public Builder setVerdict(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict value) { + public Builder setVerdict( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict + value) { if (value == null) { throw new NullPointerException(); } @@ -3788,11 +4622,16 @@ public Builder setVerdict(com.google.cloud.binaryauthorization.v1beta1.Continuou return this; } /** + * + * *
            * The verdict of this check.
            * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckVerdict verdict = 7; + * + * * @return This builder for chaining. */ public Builder clearVerdict() { @@ -3804,18 +4643,20 @@ public Builder clearVerdict() { private java.lang.Object explanation_ = ""; /** + * + * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; + * * @return The explanation. */ public java.lang.String getExplanation() { java.lang.Object ref = explanation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); explanation_ = s; return s; @@ -3824,20 +4665,21 @@ public java.lang.String getExplanation() { } } /** - *
+           *
+           *
+           * 
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; + * * @return The bytes for explanation. */ - public com.google.protobuf.ByteString - getExplanationBytes() { + public com.google.protobuf.ByteString getExplanationBytes() { java.lang.Object ref = explanation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); explanation_ = b; return b; } else { @@ -3845,28 +4687,35 @@ public java.lang.String getExplanation() { } } /** + * + * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; + * * @param value The explanation to set. * @return This builder for chaining. */ - public Builder setExplanation( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExplanation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } explanation_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; + * * @return This builder for chaining. */ public Builder clearExplanation() { @@ -3876,23 +4725,28 @@ public Builder clearExplanation() { return this; } /** + * + * *
            * User-friendly explanation of this check result.
            * 
* * string explanation = 8; + * * @param value The bytes for explanation to set. * @return This builder for chaining. */ - public Builder setExplanationBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExplanationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); explanation_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3905,41 +4759,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult(); + DEFAULT_INSTANCE = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3951,21 +4812,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int IMAGE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object image_ = ""; /** + * + * *
        * The name of the image.
        * 
* * string image = 1; + * * @return The image. */ @java.lang.Override @@ -3974,29 +4840,29 @@ public java.lang.String getImage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; } } /** + * + * *
        * The name of the image.
        * 
* * string image = 1; + * * @return The bytes for image. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageBytes() { + public com.google.protobuf.ByteString getImageBytes() { java.lang.Object ref = image_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); image_ = b; return b; } else { @@ -4005,14 +4871,18 @@ public java.lang.String getImage() { } public static final int CONTAINER_NAME_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object containerName_ = ""; /** + * + * *
        * The name of the container.
        * 
* * string container_name = 5; + * * @return The containerName. */ @java.lang.Override @@ -4021,29 +4891,29 @@ public java.lang.String getContainerName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerName_ = s; return s; } } /** + * + * *
        * The name of the container.
        * 
* * string container_name = 5; + * * @return The bytes for containerName. */ @java.lang.Override - public com.google.protobuf.ByteString - getContainerNameBytes() { + public com.google.protobuf.ByteString getContainerNameBytes() { java.lang.Object ref = containerName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); containerName_ = b; return b; } else { @@ -4054,64 +4924,111 @@ public java.lang.String getContainerName() { public static final int CONTAINER_TYPE_FIELD_NUMBER = 6; private int containerType_ = 0; /** + * + * *
        * The container type that this image belongs to.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @return The enum numeric value on the wire for containerType. */ - @java.lang.Override public int getContainerTypeValue() { + @java.lang.Override + public int getContainerTypeValue() { return containerType_; } /** + * + * *
        * The container type that this image belongs to.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @return The containerType. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType getContainerType() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.forNumber(containerType_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType + getContainerType() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType.forNumber( + containerType_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType.UNRECOGNIZED + : result; } public static final int RESULT_FIELD_NUMBER = 2; private int result_ = 0; /** + * + * *
        * The result of the audit for this image.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
        * The result of the audit for this image.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @return The result. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult getResult() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult + getResult() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
        * Description of the above result.
        * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -4120,29 +5037,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; } } /** + * + * *
        * Description of the above result.
        * 
* * 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 { @@ -4151,67 +5068,101 @@ public java.lang.String getDescription() { } public static final int CHECK_RESULTS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") - private java.util.List checkResults_; + private java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult> + checkResults_; /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ @java.lang.Override - public java.util.List getCheckResultsList() { + public java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult> + getCheckResultsList() { return checkResults_; } /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> getCheckResultsOrBuilderList() { return checkResults_; } /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ @java.lang.Override public int getCheckResultsCount() { return checkResults_.size(); } /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getCheckResults(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + getCheckResults(int index) { return checkResults_.get(index); } /** + * + * *
        * List of check results.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder getCheckResultsOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder + getCheckResultsOrBuilder(int index) { return checkResults_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4223,12 +5174,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(image_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_); } - if (result_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED.getNumber()) { + if (result_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { @@ -4240,7 +5193,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, containerName_); } - if (containerType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.CONTAINER_TYPE_UNSPECIFIED.getNumber()) { + if (containerType_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType.CONTAINER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(6, containerType_); } getUnknownFields().writeTo(output); @@ -4255,23 +5211,26 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(image_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, image_); } - if (result_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, result_); + if (result_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult.AUDIT_RESULT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, result_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < checkResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, checkResults_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, checkResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(containerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, containerName_); } - if (containerType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.CONTAINER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, containerType_); + if (containerType_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType.CONTAINER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, containerType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4281,23 +5240,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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails)) { + if (!(obj + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + other = + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails) + obj; - if (!getImage() - .equals(other.getImage())) return false; - if (!getContainerName() - .equals(other.getContainerName())) return false; + if (!getImage().equals(other.getImage())) return false; + if (!getContainerName().equals(other.getContainerName())) return false; if (containerType_ != other.containerType_) return false; if (result_ != other.result_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getCheckResultsList() - .equals(other.getCheckResultsList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getCheckResultsList().equals(other.getCheckResultsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4328,90 +5291,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4421,39 +5411,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Container image with auditing details.
        * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4474,19 +5471,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -4494,15 +5498,26 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails(this); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + result = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result) { + private void buildPartialRepeatedFields( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + result) { if (checkResultsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { checkResults_ = java.util.Collections.unmodifiableList(checkResults_); @@ -4514,7 +5529,10 @@ private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1b } } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.image_ = image_; @@ -4537,46 +5555,60 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Continuo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails)other); + if (other + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails) { + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()) return this; if (!other.getImage().isEmpty()) { image_ = other.image_; bitField0_ |= 0x00000001; @@ -4616,9 +5648,10 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Continuous checkResultsBuilder_ = null; checkResults_ = other.checkResults_; bitField0_ = (bitField0_ & ~0x00000020); - checkResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCheckResultsFieldBuilder() : null; + checkResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCheckResultsFieldBuilder() + : null; } else { checkResultsBuilder_.addAllMessages(other.checkResults_); } @@ -4650,50 +5683,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - image_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - result_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 16 - case 26: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.parser(), - extensionRegistry); - if (checkResultsBuilder_ == null) { - ensureCheckResultsIsMutable(); - checkResults_.add(m); - } else { - checkResultsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - containerName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 48: { - containerType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + image_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + result_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 16 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1 + .ContinuousValidationEvent.ContinuousValidationPodEvent + .ImageDetails.CheckResult.parser(), + extensionRegistry); + if (checkResultsBuilder_ == null) { + ensureCheckResultsIsMutable(); + checkResults_.add(m); + } else { + checkResultsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + containerName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 48: + { + containerType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4703,22 +5747,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object image_ = ""; /** + * + * *
          * The name of the image.
          * 
* * string image = 1; + * * @return The image. */ public java.lang.String getImage() { java.lang.Object ref = image_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); image_ = s; return s; @@ -4727,20 +5774,21 @@ public java.lang.String getImage() { } } /** + * + * *
          * The name of the image.
          * 
* * string image = 1; + * * @return The bytes for image. */ - public com.google.protobuf.ByteString - getImageBytes() { + public com.google.protobuf.ByteString getImageBytes() { java.lang.Object ref = image_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); image_ = b; return b; } else { @@ -4748,28 +5796,35 @@ public java.lang.String getImage() { } } /** + * + * *
          * The name of the image.
          * 
* * string image = 1; + * * @param value The image to set. * @return This builder for chaining. */ - public Builder setImage( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImage(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } image_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * The name of the image.
          * 
* * string image = 1; + * * @return This builder for chaining. */ public Builder clearImage() { @@ -4779,17 +5834,21 @@ public Builder clearImage() { return this; } /** + * + * *
          * The name of the image.
          * 
* * string image = 1; + * * @param value The bytes for image to set. * @return This builder for chaining. */ - public Builder setImageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setImageBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); image_ = value; bitField0_ |= 0x00000001; @@ -4799,18 +5858,20 @@ public Builder setImageBytes( private java.lang.Object containerName_ = ""; /** + * + * *
          * The name of the container.
          * 
* * string container_name = 5; + * * @return The containerName. */ public java.lang.String getContainerName() { java.lang.Object ref = containerName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); containerName_ = s; return s; @@ -4819,20 +5880,21 @@ public java.lang.String getContainerName() { } } /** + * + * *
          * The name of the container.
          * 
* * string container_name = 5; + * * @return The bytes for containerName. */ - public com.google.protobuf.ByteString - getContainerNameBytes() { + public com.google.protobuf.ByteString getContainerNameBytes() { java.lang.Object ref = containerName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); containerName_ = b; return b; } else { @@ -4840,28 +5902,35 @@ public java.lang.String getContainerName() { } } /** + * + * *
          * The name of the container.
          * 
* * string container_name = 5; + * * @param value The containerName to set. * @return This builder for chaining. */ - public Builder setContainerName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContainerName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } containerName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * The name of the container.
          * 
* * string container_name = 5; + * * @return This builder for chaining. */ public Builder clearContainerName() { @@ -4871,17 +5940,21 @@ public Builder clearContainerName() { return this; } /** + * + * *
          * The name of the container.
          * 
* * string container_name = 5; + * * @param value The bytes for containerName to set. * @return This builder for chaining. */ - public Builder setContainerNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContainerNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); containerName_ = value; bitField0_ |= 0x00000002; @@ -4891,22 +5964,33 @@ public Builder setContainerNameBytes( private int containerType_ = 0; /** + * + * *
          * The container type that this image belongs to.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @return The enum numeric value on the wire for containerType. */ - @java.lang.Override public int getContainerTypeValue() { + @java.lang.Override + public int getContainerTypeValue() { return containerType_; } /** + * + * *
          * The container type that this image belongs to.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @param value The enum numeric value on the wire for containerType to set. * @return This builder for chaining. */ @@ -4917,28 +6001,51 @@ public Builder setContainerTypeValue(int value) { return this; } /** + * + * *
          * The container type that this image belongs to.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @return The containerType. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType getContainerType() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.forNumber(containerType_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType + getContainerType() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType.forNumber( + containerType_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType.UNRECOGNIZED + : result; } /** + * + * *
          * The container type that this image belongs to.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @param value The containerType to set. * @return This builder for chaining. */ - public Builder setContainerType(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType value) { + public Builder setContainerType( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.ContainerType + value) { if (value == null) { throw new NullPointerException(); } @@ -4948,11 +6055,16 @@ public Builder setContainerType(com.google.cloud.binaryauthorization.v1beta1.Con return this; } /** + * + * *
          * The container type that this image belongs to.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.ContainerType container_type = 6; + * + * * @return This builder for chaining. */ public Builder clearContainerType() { @@ -4964,22 +6076,33 @@ public Builder clearContainerType() { private int result_ = 0; /** + * + * *
          * The result of the audit for this image.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @return The enum numeric value on the wire for result. */ - @java.lang.Override public int getResultValue() { + @java.lang.Override + public int getResultValue() { return result_; } /** + * + * *
          * The result of the audit for this image.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @param value The enum numeric value on the wire for result to set. * @return This builder for chaining. */ @@ -4990,28 +6113,50 @@ public Builder setResultValue(int value) { return this; } /** + * + * *
          * The result of the audit for this image.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @return The result. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult getResult() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult + getResult() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult.forNumber(result_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult.UNRECOGNIZED + : result; } /** + * + * *
          * The result of the audit for this image.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult value) { + public Builder setResult( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.AuditResult + value) { if (value == null) { throw new NullPointerException(); } @@ -5021,11 +6166,16 @@ public Builder setResult(com.google.cloud.binaryauthorization.v1beta1.Continuous return this; } /** + * + * *
          * The result of the audit for this image.
          * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.AuditResult result = 2; + * + * * @return This builder for chaining. */ public Builder clearResult() { @@ -5037,18 +6187,20 @@ public Builder clearResult() { private java.lang.Object description_ = ""; /** + * + * *
          * Description of the above result.
          * 
* * 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; @@ -5057,20 +6209,21 @@ public java.lang.String getDescription() { } } /** + * + * *
          * Description of the above result.
          * 
* * 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 { @@ -5078,28 +6231,35 @@ public java.lang.String getDescription() { } } /** + * + * *
          * Description of the above result.
          * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
          * Description of the above result.
          * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -5109,17 +6269,21 @@ public Builder clearDescription() { return this; } /** + * + * *
          * Description of the above result.
          * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; @@ -5127,26 +6291,45 @@ public Builder setDescriptionBytes( return this; } - private java.util.List checkResults_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult> + checkResults_ = java.util.Collections.emptyList(); + private void ensureCheckResultsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - checkResults_ = new java.util.ArrayList(checkResults_); + checkResults_ = + new java.util.ArrayList< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult>(checkResults_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> checkResultsBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> + checkResultsBuilder_; /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public java.util.List getCheckResultsList() { + public java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult> + getCheckResultsList() { if (checkResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(checkResults_); } else { @@ -5154,11 +6337,15 @@ public java.util.List * List of check results. *
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public int getCheckResultsCount() { if (checkResultsBuilder_ == null) { @@ -5168,13 +6355,19 @@ public int getCheckResultsCount() { } } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult getCheckResults(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + getCheckResults(int index) { if (checkResultsBuilder_ == null) { return checkResults_.get(index); } else { @@ -5182,14 +6375,21 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder setCheckResults( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult value) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + value) { if (checkResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5203,14 +6403,21 @@ public Builder setCheckResults( return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder setCheckResults( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder + builderForValue) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); checkResults_.set(index, builderForValue.build()); @@ -5221,13 +6428,20 @@ public Builder setCheckResults( return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public Builder addCheckResults(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult value) { + public Builder addCheckResults( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + value) { if (checkResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5241,14 +6455,21 @@ public Builder addCheckResults(com.google.cloud.binaryauthorization.v1beta1.Cont return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder addCheckResults( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult value) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult + value) { if (checkResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5262,14 +6483,20 @@ public Builder addCheckResults( return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder addCheckResults( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder + builderForValue) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); checkResults_.add(builderForValue.build()); @@ -5280,14 +6507,21 @@ public Builder addCheckResults( return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder addCheckResults( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder + builderForValue) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); checkResults_.add(index, builderForValue.build()); @@ -5298,18 +6532,25 @@ public Builder addCheckResults( return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder addAllCheckResults( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult> + values) { if (checkResultsBuilder_ == null) { ensureCheckResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, checkResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, checkResults_); onChanged(); } else { checkResultsBuilder_.addAllMessages(values); @@ -5317,11 +6558,15 @@ public Builder addAllCheckResults( return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder clearCheckResults() { if (checkResultsBuilder_ == null) { @@ -5334,11 +6579,15 @@ public Builder clearCheckResults() { return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ public Builder removeCheckResults(int index) { if (checkResultsBuilder_ == null) { @@ -5351,39 +6600,57 @@ public Builder removeCheckResults(int index) { return this; } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder getCheckResultsBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder + getCheckResultsBuilder(int index) { return getCheckResultsFieldBuilder().getBuilder(index); } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder getCheckResultsOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder + getCheckResultsOrBuilder(int index) { if (checkResultsBuilder_ == null) { - return checkResults_.get(index); } else { + return checkResults_.get(index); + } else { return checkResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public java.util.List - getCheckResultsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> + getCheckResultsOrBuilderList() { if (checkResultsBuilder_ != null) { return checkResultsBuilder_.getMessageOrBuilderList(); } else { @@ -5391,45 +6658,79 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder addCheckResultsBuilder() { - return getCheckResultsFieldBuilder().addBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder + addCheckResultsBuilder() { + return getCheckResultsFieldBuilder() + .addBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder addCheckResultsBuilder( - int index) { - return getCheckResultsFieldBuilder().addBuilder( - index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder + addCheckResultsBuilder(int index) { + return getCheckResultsFieldBuilder() + .addBuilder( + index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.getDefaultInstance()); } /** + * + * *
          * List of check results.
          * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult check_results = 4; + * */ - public java.util.List - getCheckResultsBuilderList() { + public java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder> + getCheckResultsBuilderList() { return getCheckResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder> getCheckResultsFieldBuilder() { if (checkResultsBuilder_ == null) { - checkResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder>( + checkResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResult.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.CheckResultOrBuilder>( checkResults_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), @@ -5438,6 +6739,7 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } return checkResultsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5450,41 +6752,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails(); + DEFAULT_INSTANCE = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImageDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImageDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5496,21 +6805,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int POD_NAMESPACE_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object podNamespace_ = ""; /** + * + * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; + * * @return The podNamespace. */ @java.lang.Override @@ -5519,29 +6833,29 @@ public java.lang.String getPodNamespace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podNamespace_ = s; return s; } } /** + * + * *
      * The k8s namespace of the Pod.
      * 
* * string pod_namespace = 7; + * * @return The bytes for podNamespace. */ @java.lang.Override - public com.google.protobuf.ByteString - getPodNamespaceBytes() { + public com.google.protobuf.ByteString getPodNamespaceBytes() { java.lang.Object ref = podNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podNamespace_ = b; return b; } else { @@ -5550,14 +6864,18 @@ public java.lang.String getPodNamespace() { } public static final int POD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object pod_ = ""; /** + * + * *
      * The name of the Pod.
      * 
* * string pod = 1; + * * @return The pod. */ @java.lang.Override @@ -5566,29 +6884,29 @@ public java.lang.String getPod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pod_ = s; return s; } } /** + * + * *
      * The name of the Pod.
      * 
* * string pod = 1; + * * @return The bytes for pod. */ @java.lang.Override - public com.google.protobuf.ByteString - getPodBytes() { + public com.google.protobuf.ByteString getPodBytes() { java.lang.Object ref = pod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pod_ = b; return b; } else { @@ -5597,14 +6915,18 @@ public java.lang.String getPod() { } public static final int POLICY_NAME_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object policyName_ = ""; /** + * + * *
      * The name of the policy.
      * 
* * string policy_name = 8; + * * @return The policyName. */ @java.lang.Override @@ -5613,29 +6935,29 @@ public java.lang.String getPolicyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyName_ = s; return s; } } /** + * + * *
      * The name of the policy.
      * 
* * string policy_name = 8; + * * @return The bytes for policyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPolicyNameBytes() { + public com.google.protobuf.ByteString getPolicyNameBytes() { java.lang.Object ref = policyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policyName_ = b; return b; } else { @@ -5646,11 +6968,14 @@ public java.lang.String getPolicyName() { public static final int DEPLOY_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp deployTime_; /** + * + * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; + * * @return Whether the deployTime field is set. */ @java.lang.Override @@ -5658,11 +6983,14 @@ public boolean hasDeployTime() { return deployTime_ != null; } /** + * + * *
      * Deploy time of the Pod from k8s.
      * 
* * .google.protobuf.Timestamp deploy_time = 2; + * * @return The deployTime. */ @java.lang.Override @@ -5670,6 +6998,8 @@ public com.google.protobuf.Timestamp getDeployTime() { return deployTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployTime_; } /** + * + * *
      * Deploy time of the Pod from k8s.
      * 
@@ -5684,11 +7014,14 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -5696,11 +7029,14 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ @java.lang.Override @@ -5708,6 +7044,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
      * Termination time of the Pod from k8s, or nothing if still running.
      * 
@@ -5722,91 +7060,146 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int VERDICT_FIELD_NUMBER = 4; private int verdict_ = 0; /** + * + * *
      * Auditing verdict for this Pod.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override public int getVerdictValue() { + @java.lang.Override + public int getVerdictValue() { return verdict_; } /** + * + * *
      * Auditing verdict for this Pod.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @return The verdict. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED + : result; } public static final int IMAGES_FIELD_NUMBER = 5; + @SuppressWarnings("serial") - private java.util.List images_; + private java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails> + images_; /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ @java.lang.Override - public java.util.List getImagesList() { + public java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails> + getImagesList() { return images_; } /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder> getImagesOrBuilderList() { return images_; } /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ @java.lang.Override public int getImagesCount() { return images_.size(); } /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getImages(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + getImages(int index) { return images_.get(index); } /** + * + * *
      * List of images with auditing details.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder getImagesOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder + getImagesOrBuilder(int index) { return images_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5818,8 +7211,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pod_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pod_); } @@ -5829,7 +7221,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (endTime_ != null) { output.writeMessage(3, getEndTime()); } - if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.POLICY_CONFORMANCE_VERDICT_UNSPECIFIED.getNumber()) { + if (verdict_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + .POLICY_CONFORMANCE_VERDICT_UNSPECIFIED + .getNumber()) { output.writeEnum(4, verdict_); } for (int i = 0; i < images_.size(); i++) { @@ -5854,20 +7250,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pod_); } if (deployTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDeployTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeployTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); } - if (verdict_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.POLICY_CONFORMANCE_VERDICT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, verdict_); + if (verdict_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + .POLICY_CONFORMANCE_VERDICT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, verdict_); } for (int i = 0; i < images_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, images_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, images_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podNamespace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, podNamespace_); @@ -5883,32 +7279,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent)) { + if (!(obj + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + other = + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + obj; - if (!getPodNamespace() - .equals(other.getPodNamespace())) return false; - if (!getPod() - .equals(other.getPod())) return false; - if (!getPolicyName() - .equals(other.getPolicyName())) return false; + if (!getPodNamespace().equals(other.getPodNamespace())) return false; + if (!getPod().equals(other.getPod())) return false; + if (!getPolicyName().equals(other.getPolicyName())) return false; if (hasDeployTime() != other.hasDeployTime()) return false; if (hasDeployTime()) { - if (!getDeployTime() - .equals(other.getDeployTime())) return false; + if (!getDeployTime().equals(other.getDeployTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (verdict_ != other.verdict_) return false; - if (!getImagesList() - .equals(other.getImagesList())) return false; + if (!getImagesList().equals(other.getImagesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5945,90 +7343,115 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6038,39 +7461,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An auditing event for one Pod.
      * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEventOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6100,19 +7530,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6120,15 +7557,26 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent(this); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + result = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result) { + private void buildPartialRepeatedFields( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + result) { if (imagesBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { images_ = java.util.Collections.unmodifiableList(images_); @@ -6140,7 +7588,10 @@ private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1b } } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.podNamespace_ = podNamespace_; @@ -6152,14 +7603,11 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Continuo result.policyName_ = policyName_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.deployTime_ = deployTimeBuilder_ == null - ? deployTime_ - : deployTimeBuilder_.build(); + result.deployTime_ = + deployTimeBuilder_ == null ? deployTime_ : deployTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { result.verdict_ = verdict_; @@ -6170,46 +7618,60 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Continuo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent)other); + if (other + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) { + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance()) return this; if (!other.getPodNamespace().isEmpty()) { podNamespace_ = other.podNamespace_; bitField0_ |= 0x00000001; @@ -6252,9 +7714,10 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Continuous imagesBuilder_ = null; images_ = other.images_; bitField0_ = (bitField0_ & ~0x00000040); - imagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getImagesFieldBuilder() : null; + imagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getImagesFieldBuilder() + : null; } else { imagesBuilder_.addAllMessages(other.images_); } @@ -6286,59 +7749,66 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - pod_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - input.readMessage( - getDeployTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 32: { - verdict_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 32 - case 42: { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.parser(), - extensionRegistry); - if (imagesBuilder_ == null) { - ensureImagesIsMutable(); - images_.add(m); - } else { - imagesBuilder_.addMessage(m); - } - break; - } // case 42 - case 58: { - podNamespace_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 58 - case 66: { - policyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + pod_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 10 + case 18: + { + input.readMessage(getDeployTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 32: + { + verdict_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 32 + case 42: + { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.parser(), + extensionRegistry); + if (imagesBuilder_ == null) { + ensureImagesIsMutable(); + images_.add(m); + } else { + imagesBuilder_.addMessage(m); + } + break; + } // case 42 + case 58: + { + podNamespace_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 58 + case 66: + { + policyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6348,22 +7818,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object podNamespace_ = ""; /** + * + * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; + * * @return The podNamespace. */ public java.lang.String getPodNamespace() { java.lang.Object ref = podNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podNamespace_ = s; return s; @@ -6372,20 +7845,21 @@ public java.lang.String getPodNamespace() { } } /** + * + * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; + * * @return The bytes for podNamespace. */ - public com.google.protobuf.ByteString - getPodNamespaceBytes() { + public com.google.protobuf.ByteString getPodNamespaceBytes() { java.lang.Object ref = podNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podNamespace_ = b; return b; } else { @@ -6393,28 +7867,35 @@ public java.lang.String getPodNamespace() { } } /** + * + * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; + * * @param value The podNamespace to set. * @return This builder for chaining. */ - public Builder setPodNamespace( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPodNamespace(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } podNamespace_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; + * * @return This builder for chaining. */ public Builder clearPodNamespace() { @@ -6424,17 +7905,21 @@ public Builder clearPodNamespace() { return this; } /** + * + * *
        * The k8s namespace of the Pod.
        * 
* * string pod_namespace = 7; + * * @param value The bytes for podNamespace to set. * @return This builder for chaining. */ - public Builder setPodNamespaceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPodNamespaceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); podNamespace_ = value; bitField0_ |= 0x00000001; @@ -6444,18 +7929,20 @@ public Builder setPodNamespaceBytes( private java.lang.Object pod_ = ""; /** + * + * *
        * The name of the Pod.
        * 
* * string pod = 1; + * * @return The pod. */ public java.lang.String getPod() { java.lang.Object ref = pod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pod_ = s; return s; @@ -6464,20 +7951,21 @@ public java.lang.String getPod() { } } /** + * + * *
        * The name of the Pod.
        * 
* * string pod = 1; + * * @return The bytes for pod. */ - public com.google.protobuf.ByteString - getPodBytes() { + public com.google.protobuf.ByteString getPodBytes() { java.lang.Object ref = pod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pod_ = b; return b; } else { @@ -6485,28 +7973,35 @@ public java.lang.String getPod() { } } /** + * + * *
        * The name of the Pod.
        * 
* * string pod = 1; + * * @param value The pod to set. * @return This builder for chaining. */ - public Builder setPod( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPod(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pod_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The name of the Pod.
        * 
* * string pod = 1; + * * @return This builder for chaining. */ public Builder clearPod() { @@ -6516,17 +8011,21 @@ public Builder clearPod() { return this; } /** + * + * *
        * The name of the Pod.
        * 
* * string pod = 1; + * * @param value The bytes for pod to set. * @return This builder for chaining. */ - public Builder setPodBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPodBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pod_ = value; bitField0_ |= 0x00000002; @@ -6536,18 +8035,20 @@ public Builder setPodBytes( private java.lang.Object policyName_ = ""; /** + * + * *
        * The name of the policy.
        * 
* * string policy_name = 8; + * * @return The policyName. */ public java.lang.String getPolicyName() { java.lang.Object ref = policyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); policyName_ = s; return s; @@ -6556,20 +8057,21 @@ public java.lang.String getPolicyName() { } } /** + * + * *
        * The name of the policy.
        * 
* * string policy_name = 8; + * * @return The bytes for policyName. */ - public com.google.protobuf.ByteString - getPolicyNameBytes() { + public com.google.protobuf.ByteString getPolicyNameBytes() { java.lang.Object ref = policyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); policyName_ = b; return b; } else { @@ -6577,28 +8079,35 @@ public java.lang.String getPolicyName() { } } /** + * + * *
        * The name of the policy.
        * 
* * string policy_name = 8; + * * @param value The policyName to set. * @return This builder for chaining. */ - public Builder setPolicyName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } policyName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
        * The name of the policy.
        * 
* * string policy_name = 8; + * * @return This builder for chaining. */ public Builder clearPolicyName() { @@ -6608,17 +8117,21 @@ public Builder clearPolicyName() { return this; } /** + * + * *
        * The name of the policy.
        * 
* * string policy_name = 8; + * * @param value The bytes for policyName to set. * @return This builder for chaining. */ - public Builder setPolicyNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPolicyNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); policyName_ = value; bitField0_ |= 0x00000004; @@ -6628,34 +8141,47 @@ public Builder setPolicyNameBytes( private com.google.protobuf.Timestamp deployTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deployTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + deployTimeBuilder_; /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
* * .google.protobuf.Timestamp deploy_time = 2; + * * @return Whether the deployTime field is set. */ public boolean hasDeployTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
* * .google.protobuf.Timestamp deploy_time = 2; + * * @return The deployTime. */ public com.google.protobuf.Timestamp getDeployTime() { if (deployTimeBuilder_ == null) { - return deployTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deployTime_; + return deployTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployTime_; } else { return deployTimeBuilder_.getMessage(); } } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
@@ -6676,14 +8202,15 @@ public Builder setDeployTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
* * .google.protobuf.Timestamp deploy_time = 2; */ - public Builder setDeployTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeployTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (deployTimeBuilder_ == null) { deployTime_ = builderForValue.build(); } else { @@ -6694,6 +8221,8 @@ public Builder setDeployTime( return this; } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
@@ -6702,9 +8231,9 @@ public Builder setDeployTime( */ public Builder mergeDeployTime(com.google.protobuf.Timestamp value) { if (deployTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - deployTime_ != null && - deployTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && deployTime_ != null + && deployTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getDeployTimeBuilder().mergeFrom(value); } else { deployTime_ = value; @@ -6717,6 +8246,8 @@ public Builder mergeDeployTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
@@ -6734,6 +8265,8 @@ public Builder clearDeployTime() { return this; } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
@@ -6746,6 +8279,8 @@ public com.google.protobuf.Timestamp.Builder getDeployTimeBuilder() { return getDeployTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
@@ -6756,11 +8291,14 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { if (deployTimeBuilder_ != null) { return deployTimeBuilder_.getMessageOrBuilder(); } else { - return deployTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : deployTime_; + return deployTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : deployTime_; } } /** + * + * *
        * Deploy time of the Pod from k8s.
        * 
@@ -6768,14 +8306,17 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { * .google.protobuf.Timestamp deploy_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> getDeployTimeFieldBuilder() { if (deployTimeBuilder_ == null) { - deployTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getDeployTime(), - getParentForChildren(), - isClean()); + deployTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getDeployTime(), getParentForChildren(), isClean()); deployTime_ = null; } return deployTimeBuilder_; @@ -6783,24 +8324,33 @@ public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder() { 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_; /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -6811,6 +8361,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -6831,14 +8383,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -6849,6 +8402,8 @@ public Builder setEndTime( return this; } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -6857,9 +8412,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -6872,6 +8427,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -6889,6 +8446,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -6901,6 +8460,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -6911,11 +8472,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_; } } /** + * + * *
        * Termination time of the Pod from k8s, or nothing if still running.
        * 
@@ -6923,14 +8485,17 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ 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_; @@ -6938,22 +8503,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int verdict_ = 0; /** + * + * *
        * Auditing verdict for this Pod.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @return The enum numeric value on the wire for verdict. */ - @java.lang.Override public int getVerdictValue() { + @java.lang.Override + public int getVerdictValue() { return verdict_; } /** + * + * *
        * Auditing verdict for this Pod.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @param value The enum numeric value on the wire for verdict to set. * @return This builder for chaining. */ @@ -6964,28 +8540,50 @@ public Builder setVerdictValue(int value) { return this; } /** + * + * *
        * Auditing verdict for this Pod.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @return The verdict. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict getVerdict() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict result = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + getVerdict() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + result = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict.forNumber(verdict_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict.UNRECOGNIZED + : result; } /** + * + * *
        * Auditing verdict for this Pod.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @param value The verdict to set. * @return This builder for chaining. */ - public Builder setVerdict(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict value) { + public Builder setVerdict( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.PolicyConformanceVerdict + value) { if (value == null) { throw new NullPointerException(); } @@ -6995,11 +8593,16 @@ public Builder setVerdict(com.google.cloud.binaryauthorization.v1beta1.Continuou return this; } /** + * + * *
        * Auditing verdict for this Pod.
        * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.PolicyConformanceVerdict verdict = 4; + * + * * @return This builder for chaining. */ public Builder clearVerdict() { @@ -7009,26 +8612,45 @@ public Builder clearVerdict() { return this; } - private java.util.List images_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails> + images_ = java.util.Collections.emptyList(); + private void ensureImagesIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { - images_ = new java.util.ArrayList(images_); + images_ = + new java.util.ArrayList< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails>(images_); bitField0_ |= 0x00000040; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder> imagesBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder> + imagesBuilder_; /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public java.util.List getImagesList() { + public java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails> + getImagesList() { if (imagesBuilder_ == null) { return java.util.Collections.unmodifiableList(images_); } else { @@ -7036,11 +8658,15 @@ public java.util.List * List of images with auditing details. *
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public int getImagesCount() { if (imagesBuilder_ == null) { @@ -7050,13 +8676,19 @@ public int getImagesCount() { } } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails getImages(int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + getImages(int index) { if (imagesBuilder_ == null) { return images_.get(index); } else { @@ -7064,14 +8696,21 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder setImages( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails value) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + value) { if (imagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7085,14 +8724,21 @@ public Builder setImages( return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder setImages( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder + builderForValue) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); images_.set(index, builderForValue.build()); @@ -7103,13 +8749,20 @@ public Builder setImages( return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public Builder addImages(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails value) { + public Builder addImages( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + value) { if (imagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7123,14 +8776,21 @@ public Builder addImages(com.google.cloud.binaryauthorization.v1beta1.Continuous return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder addImages( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails value) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails + value) { if (imagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7144,14 +8804,20 @@ public Builder addImages( return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder addImages( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder + builderForValue) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); images_.add(builderForValue.build()); @@ -7162,14 +8828,21 @@ public Builder addImages( return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder addImages( - int index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder + builderForValue) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); images_.add(index, builderForValue.build()); @@ -7180,18 +8853,25 @@ public Builder addImages( return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder addAllImages( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails> + values) { if (imagesBuilder_ == null) { ensureImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, images_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, images_); onChanged(); } else { imagesBuilder_.addAllMessages(values); @@ -7199,11 +8879,15 @@ public Builder addAllImages( return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder clearImages() { if (imagesBuilder_ == null) { @@ -7216,11 +8900,15 @@ public Builder clearImages() { return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ public Builder removeImages(int index) { if (imagesBuilder_ == null) { @@ -7233,39 +8921,57 @@ public Builder removeImages(int index) { return this; } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder getImagesBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder + getImagesBuilder(int index) { return getImagesFieldBuilder().getBuilder(index); } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder getImagesOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder + getImagesOrBuilder(int index) { if (imagesBuilder_ == null) { - return images_.get(index); } else { + return images_.get(index); + } else { return imagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public java.util.List - getImagesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder> + getImagesOrBuilderList() { if (imagesBuilder_ != null) { return imagesBuilder_.getMessageOrBuilderList(); } else { @@ -7273,53 +8979,85 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder addImagesBuilder() { - return getImagesFieldBuilder().addBuilder( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder + addImagesBuilder() { + return getImagesFieldBuilder() + .addBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder addImagesBuilder( - int index) { - return getImagesFieldBuilder().addBuilder( - index, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder + addImagesBuilder(int index) { + return getImagesFieldBuilder() + .addBuilder( + index, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.getDefaultInstance()); } /** + * + * *
        * List of images with auditing details.
        * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * + * repeated .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails images = 5; + * */ - public java.util.List - getImagesBuilderList() { + public java.util.List< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder> + getImagesBuilderList() { return getImagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder> getImagesFieldBuilder() { if (imagesBuilder_ == null) { - imagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetailsOrBuilder>( - images_, - ((bitField0_ & 0x00000040) != 0), - getParentForChildren(), - isClean()); + imagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetails.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.ImageDetailsOrBuilder>( + images_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); images_ = null; } return imagesBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7332,41 +9070,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent(); + DEFAULT_INSTANCE = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousValidationPodEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousValidationPodEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7378,86 +9123,104 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConfigErrorEventOrBuilder extends + public interface ConfigErrorEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A description of the issue.
      * 
* * string description = 1; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * A description of the issue.
      * 
* * string description = 1; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } /** + * + * *
    * An event describing a user-actionable configuration issue that prevents CV
    * from auditing.
    * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} */ - public static final class ConfigErrorEvent extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ConfigErrorEvent extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) ConfigErrorEventOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigErrorEvent.newBuilder() to construct. private ConfigErrorEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConfigErrorEvent() { description_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigErrorEvent(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.Builder.class); } public static final int DESCRIPTION_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
      * A description of the issue.
      * 
* * string description = 1; + * * @return The description. */ @java.lang.Override @@ -7466,29 +9229,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 description of the issue.
      * 
* * string description = 1; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -7497,6 +9260,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7508,8 +9272,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } @@ -7533,15 +9296,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.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent)) { + if (!(obj + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + other = + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + obj; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -7560,90 +9329,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7653,40 +9446,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An event describing a user-actionable configuration issue that prevents CV
      * from auditing.
      * 
* - * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} + * Protobuf type {@code + * google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEventOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -7696,19 +9496,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent result = buildPartial(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + build() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7716,14 +9520,22 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + buildPartial() { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + result = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.description_ = description_; @@ -7734,46 +9546,59 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Continuo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent)other); + if (other + instanceof + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) { + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.getDefaultInstance()) return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000001; @@ -7805,17 +9630,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7825,22 +9652,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object description_ = ""; /** + * + * *
        * A description of the issue.
        * 
* * string description = 1; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7849,20 +9679,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A description of the issue.
        * 
* * string description = 1; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -7870,28 +9701,35 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A description of the issue.
        * 
* * string description = 1; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * A description of the issue.
        * 
* * string description = 1; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -7901,23 +9739,28 @@ public Builder clearDescription() { return this; } /** + * + * *
        * A description of the issue.
        * 
* * string description = 1; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7930,41 +9773,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent(); + DEFAULT_INSTANCE = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigErrorEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigErrorEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7976,22 +9826,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int eventTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object eventType_; + public enum EventTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { POD_EVENT(1), CONFIG_ERROR_EVENT(4), EVENTTYPE_NOT_SET(0); private final int value; + private EventTypeCase(int value) { this.value = value; } @@ -8007,30 +9861,38 @@ public static EventTypeCase valueOf(int value) { public static EventTypeCase forNumber(int value) { switch (value) { - case 1: return POD_EVENT; - case 4: return CONFIG_ERROR_EVENT; - case 0: return EVENTTYPE_NOT_SET; - default: return null; + case 1: + return POD_EVENT; + case 4: + return CONFIG_ERROR_EVENT; + case 0: + return EVENTTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public EventTypeCase - getEventTypeCase() { - return EventTypeCase.forNumber( - eventTypeCase_); + public EventTypeCase getEventTypeCase() { + return EventTypeCase.forNumber(eventTypeCase_); } public static final int POD_EVENT_FIELD_NUMBER = 1; /** + * + * *
    * Pod event.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * * @return Whether the podEvent field is set. */ @java.lang.Override @@ -8038,42 +9900,66 @@ public boolean hasPodEvent() { return eventTypeCase_ == 1; } /** + * + * *
    * Pod event.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * * @return The podEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getPodEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + getPodEvent() { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance(); } /** + * + * *
    * Pod event.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder getPodEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEventOrBuilder + getPodEventOrBuilder() { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance(); } public static final int CONFIG_ERROR_EVENT_FIELD_NUMBER = 4; /** + * + * *
    * Config error event.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * * @return Whether the configErrorEvent field is set. */ @java.lang.Override @@ -8081,36 +9967,55 @@ public boolean hasConfigErrorEvent() { return eventTypeCase_ == 4; } /** + * + * *
    * Config error event.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * * @return The configErrorEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getConfigErrorEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + getConfigErrorEvent() { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + .getDefaultInstance(); } /** + * + * *
    * Config error event.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder getConfigErrorEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEventOrBuilder + getConfigErrorEventOrBuilder() { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8122,13 +10027,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (eventTypeCase_ == 1) { - output.writeMessage(1, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_); + output.writeMessage( + 1, + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_); } if (eventTypeCase_ == 4) { - output.writeMessage(4, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_); + output.writeMessage( + 4, + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) + eventType_); } getUnknownFields().writeTo(output); } @@ -8140,12 +10051,20 @@ public int getSerializedSize() { size = 0; if (eventTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_); } if (eventTypeCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + eventType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8155,22 +10074,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.binaryauthorization.v1beta1.ContinuousValidationEvent)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other = (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) obj; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other = + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) obj; if (!getEventTypeCase().equals(other.getEventTypeCase())) return false; switch (eventTypeCase_) { case 1: - if (!getPodEvent() - .equals(other.getPodEvent())) return false; + if (!getPodEvent().equals(other.getPodEvent())) return false; break; case 4: - if (!getConfigErrorEvent() - .equals(other.getConfigErrorEvent())) return false; + if (!getConfigErrorEvent().equals(other.getConfigErrorEvent())) return false; break; case 0: default: @@ -8204,131 +10122,138 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents an auditing event from Continuous Validation.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEventOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.class, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -8345,19 +10270,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto.internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationLoggingProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent build() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = buildPartial(); + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8366,26 +10294,29 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent bu @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result = + new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { + private void buildPartialOneofs( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent result) { result.eventTypeCase_ = eventTypeCase_; result.eventType_ = this.eventType_; - if (eventTypeCase_ == 1 && - podEventBuilder_ != null) { + if (eventTypeCase_ == 1 && podEventBuilder_ != null) { result.eventType_ = podEventBuilder_.build(); } - if (eventTypeCase_ == 4 && - configErrorEventBuilder_ != null) { + if (eventTypeCase_ == 4 && configErrorEventBuilder_ != null) { result.eventType_ = configErrorEventBuilder_.build(); } } @@ -8394,58 +10325,66 @@ private void buildPartialOneofs(com.google.cloud.binaryauthorization.v1beta1.Con public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent)other); + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .getDefaultInstance()) return this; switch (other.getEventTypeCase()) { - case POD_EVENT: { - mergePodEvent(other.getPodEvent()); - break; - } - case CONFIG_ERROR_EVENT: { - mergeConfigErrorEvent(other.getConfigErrorEvent()); - break; - } - case EVENTTYPE_NOT_SET: { - break; - } + case POD_EVENT: + { + mergePodEvent(other.getPodEvent()); + break; + } + case CONFIG_ERROR_EVENT: + { + mergeConfigErrorEvent(other.getConfigErrorEvent()); + break; + } + case EVENTTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -8473,26 +10412,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPodEventFieldBuilder().getBuilder(), - extensionRegistry); - eventTypeCase_ = 1; - break; - } // case 10 - case 34: { - input.readMessage( - getConfigErrorEventFieldBuilder().getBuilder(), - extensionRegistry); - eventTypeCase_ = 4; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPodEventFieldBuilder().getBuilder(), extensionRegistry); + eventTypeCase_ = 1; + break; + } // case 10 + case 34: + { + input.readMessage( + getConfigErrorEventFieldBuilder().getBuilder(), extensionRegistry); + eventTypeCase_ = 4; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -8502,12 +10441,12 @@ public Builder mergeFrom( } // finally return this; } + private int eventTypeCase_ = 0; private java.lang.Object eventType_; - public EventTypeCase - getEventTypeCase() { - return EventTypeCase.forNumber( - eventTypeCase_); + + public EventTypeCase getEventTypeCase() { + return EventTypeCase.forNumber(eventTypeCase_); } public Builder clearEventType() { @@ -8520,13 +10459,24 @@ public Builder clearEventType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder> podEventBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEventOrBuilder> + podEventBuilder_; /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * * @return Whether the podEvent field is set. */ @java.lang.Override @@ -8534,35 +10484,53 @@ public boolean hasPodEvent() { return eventTypeCase_ == 1; } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * * @return The podEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getPodEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + getPodEvent() { if (podEventBuilder_ == null) { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance(); } else { if (eventTypeCase_ == 1) { return podEventBuilder_.getMessage(); } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance(); } } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ - public Builder setPodEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent value) { + public Builder setPodEvent( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + value) { if (podEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8576,14 +10544,20 @@ public Builder setPodEvent(com.google.cloud.binaryauthorization.v1beta1.Continuo return this; } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ public Builder setPodEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.Builder + builderForValue) { if (podEventBuilder_ == null) { eventType_ = builderForValue.build(); onChanged(); @@ -8594,18 +10568,33 @@ public Builder setPodEvent( return this; } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ - public Builder mergePodEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent value) { + public Builder mergePodEvent( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + value) { if (podEventBuilder_ == null) { - if (eventTypeCase_ == 1 && - eventType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance()) { - eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.newBuilder((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_) - .mergeFrom(value).buildPartial(); + if (eventTypeCase_ == 1 + && eventType_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance()) { + eventType_ = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.newBuilder( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_) + .mergeFrom(value) + .buildPartial(); } else { eventType_ = value; } @@ -8621,11 +10610,15 @@ public Builder mergePodEvent(com.google.cloud.binaryauthorization.v1beta1.Contin return this; } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ public Builder clearPodEvent() { if (podEventBuilder_ == null) { @@ -8644,50 +10637,84 @@ public Builder clearPodEvent() { return this; } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder getPodEventBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.Builder + getPodEventBuilder() { return getPodEventFieldBuilder().getBuilder(); } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder getPodEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEventOrBuilder + getPodEventOrBuilder() { if ((eventTypeCase_ == 1) && (podEventBuilder_ != null)) { return podEventBuilder_.getMessageOrBuilder(); } else { if (eventTypeCase_ == 1) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance(); } } /** + * + * *
      * Pod event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEventOrBuilder> getPodEventFieldBuilder() { if (podEventBuilder_ == null) { if (!(eventTypeCase_ == 1)) { - eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.getDefaultInstance(); - } - podEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder>( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent) eventType_, + eventType_ = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.getDefaultInstance(); + } + podEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEventOrBuilder>( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent) + eventType_, getParentForChildren(), isClean()); eventType_ = null; @@ -8698,13 +10725,23 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder> configErrorEventBuilder_; + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + .Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEventOrBuilder> + configErrorEventBuilder_; /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * * @return Whether the configErrorEvent field is set. */ @java.lang.Override @@ -8712,35 +10749,51 @@ public boolean hasConfigErrorEvent() { return eventTypeCase_ == 4; } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * * @return The configErrorEvent. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getConfigErrorEvent() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + getConfigErrorEvent() { if (configErrorEventBuilder_ == null) { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.getDefaultInstance(); } else { if (eventTypeCase_ == 4) { return configErrorEventBuilder_.getMessage(); } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.getDefaultInstance(); } } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ - public Builder setConfigErrorEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent value) { + public Builder setConfigErrorEvent( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + value) { if (configErrorEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8754,14 +10807,20 @@ public Builder setConfigErrorEvent(com.google.cloud.binaryauthorization.v1beta1. return this; } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ public Builder setConfigErrorEvent( - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + .Builder + builderForValue) { if (configErrorEventBuilder_ == null) { eventType_ = builderForValue.build(); onChanged(); @@ -8772,18 +10831,32 @@ public Builder setConfigErrorEvent( return this; } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ - public Builder mergeConfigErrorEvent(com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent value) { + public Builder mergeConfigErrorEvent( + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + value) { if (configErrorEventBuilder_ == null) { - if (eventTypeCase_ == 4 && - eventType_ != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance()) { - eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.newBuilder((com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_) - .mergeFrom(value).buildPartial(); + if (eventTypeCase_ == 4 + && eventType_ + != com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.getDefaultInstance()) { + eventType_ = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.newBuilder( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + eventType_) + .mergeFrom(value) + .buildPartial(); } else { eventType_ = value; } @@ -8799,11 +10872,15 @@ public Builder mergeConfigErrorEvent(com.google.cloud.binaryauthorization.v1beta return this; } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ public Builder clearConfigErrorEvent() { if (configErrorEventBuilder_ == null) { @@ -8822,50 +10899,83 @@ public Builder clearConfigErrorEvent() { return this; } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder getConfigErrorEventBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + .Builder + getConfigErrorEventBuilder() { return getConfigErrorEventFieldBuilder().getBuilder(); } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder getConfigErrorEventOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEventOrBuilder + getConfigErrorEventOrBuilder() { if ((eventTypeCase_ == 4) && (configErrorEventBuilder_ != null)) { return configErrorEventBuilder_.getMessageOrBuilder(); } else { if (eventTypeCase_ == 4) { - return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_; + return (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + eventType_; } - return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); + return com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.getDefaultInstance(); } } /** + * + * *
      * Config error event.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + .Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEventOrBuilder> getConfigErrorEventFieldBuilder() { if (configErrorEventBuilder_ == null) { if (!(eventTypeCase_ == 4)) { - eventType_ = com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.getDefaultInstance(); - } - configErrorEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent.Builder, com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder>( - (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent) eventType_, + eventType_ = + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.getDefaultInstance(); + } + configErrorEventBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent.Builder, + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEventOrBuilder>( + (com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ConfigErrorEvent) + eventType_, getParentForChildren(), isClean()); eventType_ = null; @@ -8874,9 +10984,9 @@ public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.Co onChanged(); return configErrorEventBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8886,41 +10996,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) - private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent(); } - public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContinuousValidationEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContinuousValidationEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8932,9 +11044,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java new file mode 100644 index 000000000000..9cb06a82ea41 --- /dev/null +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java @@ -0,0 +1,116 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface ContinuousValidationEventOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Pod event.
+   * 
+ * + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * + * @return Whether the podEvent field is set. + */ + boolean hasPodEvent(); + /** + * + * + *
+   * Pod event.
+   * 
+ * + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + * + * @return The podEvent. + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEvent + getPodEvent(); + /** + * + * + *
+   * Pod event.
+   * 
+ * + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; + * + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent + .ContinuousValidationPodEventOrBuilder + getPodEventOrBuilder(); + + /** + * + * + *
+   * Config error event.
+   * 
+ * + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * + * @return Whether the configErrorEvent field is set. + */ + boolean hasConfigErrorEvent(); + /** + * + * + *
+   * Config error event.
+   * 
+ * + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + * + * @return The configErrorEvent. + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent + getConfigErrorEvent(); + /** + * + * + *
+   * Config error event.
+   * 
+ * + * + * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; + * + */ + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder + getConfigErrorEventOrBuilder(); + + com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.EventTypeCase + getEventTypeCase(); +} diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java new file mode 100644 index 000000000000..2f9686c17706 --- /dev/null +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java @@ -0,0 +1,206 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public final class ContinuousValidationLoggingProto { + private ContinuousValidationLoggingProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public 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_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nLgoogle/cloud/binaryauthorization/v1bet" + + "a1/continuous_validation_logging.proto\022(" + + "google.cloud.binaryauthorization.v1beta1" + + "\032\037google/protobuf/timestamp.proto\"\205\021\n\031Co" + + "ntinuousValidationEvent\022u\n\tpod_event\030\001 \001" + + "(\0132`.google.cloud.binaryauthorization.v1" + + "beta1.ContinuousValidationEvent.Continuo" + + "usValidationPodEventH\000\022r\n\022config_error_e" + + "vent\030\004 \001(\0132T.google.cloud.binaryauthoriz" + + "ation.v1beta1.ContinuousValidationEvent." + + "ConfigErrorEventH\000\032\305\016\n\034ContinuousValidat" + + "ionPodEvent\022\025\n\rpod_namespace\030\007 \001(\t\022\013\n\003po" + + "d\030\001 \001(\t\022\023\n\013policy_name\030\010 \001(\t\022/\n\013deploy_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" + + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\022\212\001\n\007verdict\030\004 \001(\0162y.google.cloud.bin" + + "aryauthorization.v1beta1.ContinuousValid" + + "ationEvent.ContinuousValidationPodEvent." + + "PolicyConformanceVerdict\022}\n\006images\030\005 \003(\013" + + "2m.google.cloud.binaryauthorization.v1be" + + "ta1.ContinuousValidationEvent.Continuous" + + "ValidationPodEvent.ImageDetails\032\243\n\n\014Imag" + + "eDetails\022\r\n\005image\030\001 \001(\t\022\026\n\016container_nam" + + "e\030\005 \001(\t\022\223\001\n\016container_type\030\006 \001(\0162{.googl" + + "e.cloud.binaryauthorization.v1beta1.Cont" + + "inuousValidationEvent.ContinuousValidati" + + "onPodEvent.ImageDetails.ContainerType\022\211\001" + + "\n\006result\030\002 \001(\0162y.google.cloud.binaryauth" + + "orization.v1beta1.ContinuousValidationEv" + + "ent.ContinuousValidationPodEvent.ImageDe" + + "tails.AuditResult\022\023\n\013description\030\003 \001(\t\022\220" + + "\001\n\rcheck_results\030\004 \003(\0132y.google.cloud.bi" + + "naryauthorization.v1beta1.ContinuousVali" + + "dationEvent.ContinuousValidationPodEvent" + + ".ImageDetails.CheckResult\032\362\004\n\013CheckResul" + + "t\022\027\n\017check_set_index\030\001 \001(\t\022\026\n\016check_set_" + + "name\030\002 \001(\t\022\241\001\n\017check_set_scope\030\003 \001(\0132\207\001." + + "google.cloud.binaryauthorization.v1beta1" + + ".ContinuousValidationEvent.ContinuousVal" + + "idationPodEvent.ImageDetails.CheckResult" + + ".CheckSetScope\022\023\n\013check_index\030\004 \001(\t\022\022\n\nc" + + "heck_name\030\005 \001(\t\022\022\n\ncheck_type\030\006 \001(\t\022\230\001\n\007" + + "verdict\030\007 \001(\0162\206\001.google.cloud.binaryauth" + + "orization.v1beta1.ContinuousValidationEv" + + "ent.ContinuousValidationPodEvent.ImageDe" + + "tails.CheckResult.CheckVerdict\022\023\n\013explan" + + "ation\030\010 \001(\t\032^\n\rCheckSetScope\022$\n\032kubernet" + + "es_service_account\030\001 \001(\tH\000\022\036\n\024kubernetes" + + "_namespace\030\002 \001(\tH\000B\007\n\005scope\"A\n\014CheckVerd" + + "ict\022\035\n\031CHECK_VERDICT_UNSPECIFIED\020\000\022\022\n\016NO" + + "N_CONFORMANT\020\001\"k\n\rContainerType\022\036\n\032CONTA" + + "INER_TYPE_UNSPECIFIED\020\000\022\r\n\tCONTAINER\020\001\022\022" + + "\n\016INIT_CONTAINER\020\002\022\027\n\023EPHEMERAL_CONTAINE" + + "R\020\003\"@\n\013AuditResult\022\034\n\030AUDIT_RESULT_UNSPE" + + "CIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002\"[\n\030PolicyC" + + "onformanceVerdict\022*\n&POLICY_CONFORMANCE_" + + "VERDICT_UNSPECIFIED\020\000\022\023\n\017VIOLATES_POLICY" + + "\020\001\032\'\n\020ConfigErrorEvent\022\023\n\013description\030\001 " + + "\001(\tB\014\n\nevent_typeB\271\002\n,com.google.cloud.b" + + "inaryauthorization.v1beta1B ContinuousVa" + + "lidationLoggingProtoP\001Z^cloud.google.com" + + "/go/binaryauthorization/apiv1beta1/binar" + + "yauthorizationpb;binaryauthorizationpb\370\001" + + "\001\252\002(Google.Cloud.BinaryAuthorization.V1B" + + "eta1\312\002(Google\\Cloud\\BinaryAuthorization\\" + + "V1beta1\352\002+Google::Cloud::BinaryAuthoriza" + + "tion::V1beta1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor, + new java.lang.String[] { + "PodEvent", "ConfigErrorEvent", "EventType", + }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor, + new java.lang.String[] { + "PodNamespace", "Pod", "PolicyName", "DeployTime", "EndTime", "Verdict", "Images", + }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor, + new java.lang.String[] { + "Image", "ContainerName", "ContainerType", "Result", "Description", "CheckResults", + }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor, + new java.lang.String[] { + "CheckSetIndex", + "CheckSetName", + "CheckSetScope", + "CheckIndex", + "CheckName", + "CheckType", + "Verdict", + "Explanation", + }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor, + new java.lang.String[] { + "KubernetesServiceAccount", "KubernetesNamespace", "Scope", + }); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor = + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor, + new java.lang.String[] { + "Description", + }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java similarity index 64% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java index 56882674f12b..b7eccfb06d66 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request message for [BinauthzManagementService.CreateAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest} */ -public final class CreateAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) CreateAttestorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAttestorRequest.newBuilder() to construct. private CreateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAttestorRequest() { parent_ = ""; attestorId_ = ""; @@ -26,33 +44,40 @@ private CreateAttestorRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -61,29 +86,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * string parent = 1 [(.google.api.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 { @@ -92,14 +119,18 @@ public java.lang.String getParent() { } public static final int ATTESTOR_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object attestorId_ = ""; /** + * + * *
    * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestorId. */ @java.lang.Override @@ -108,29 +139,29 @@ public java.lang.String getAttestorId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; } } /** + * + * *
    * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestorId. */ @java.lang.Override - public com.google.protobuf.ByteString - getAttestorIdBytes() { + public com.google.protobuf.ByteString getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attestorId_ = b; return b; } else { @@ -141,13 +172,18 @@ public java.lang.String getAttestorId() { public static final int ATTESTOR_FIELD_NUMBER = 3; private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; /** + * + * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ @java.lang.Override @@ -155,34 +191,48 @@ public boolean hasAttestor() { return attestor_ != null; } /** + * + * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { - return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } /** + * + * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { - return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,8 +270,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, attestorId_); } if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAttestor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,21 +280,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.binaryauthorization.v1beta1.CreateAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other = + (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getAttestorId() - .equals(other.getAttestorId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getAttestorId().equals(other.getAttestorId())) return false; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor() - .equals(other.getAttestor())) return false; + if (!getAttestor().equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -273,131 +319,138 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.CreateAttestorRequest + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.CreateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -413,14 +466,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest + .getDefaultInstance(); } @java.lang.Override @@ -434,13 +489,17 @@ public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result = + new com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -449,9 +508,7 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.CreateAt result.attestorId_ = attestorId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.attestor_ = attestorBuilder_ == null - ? attestor_ - : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); } } @@ -459,46 +516,51 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.CreateAt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest)other); + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -538,29 +600,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - attestorId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getAttestorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + attestorId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -570,22 +634,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * string parent = 1 [(.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; @@ -594,20 +663,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * string parent = 1 [(.google.api.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 { @@ -615,28 +687,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * string 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() { @@ -646,17 +729,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -666,18 +755,20 @@ public Builder setParentBytes( private java.lang.Object attestorId_ = ""; /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestorId. */ public java.lang.String getAttestorId() { java.lang.Object ref = attestorId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); attestorId_ = s; return s; @@ -686,20 +777,21 @@ public java.lang.String getAttestorId() { } } /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestorId. */ - public com.google.protobuf.ByteString - getAttestorIdBytes() { + public com.google.protobuf.ByteString getAttestorIdBytes() { java.lang.Object ref = attestorId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); attestorId_ = b; return b; } else { @@ -707,28 +799,35 @@ public java.lang.String getAttestorId() { } } /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttestorId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } attestorId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAttestorId() { @@ -738,17 +837,21 @@ public Builder clearAttestorId() { return this; } /** + * + * *
      * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
      * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for attestorId to set. * @return This builder for chaining. */ - public Builder setAttestorIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAttestorIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); attestorId_ = value; bitField0_ |= 0x00000002; @@ -758,45 +861,64 @@ public Builder setAttestorIdBytes( private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> attestorBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + attestorBuilder_; /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } else { return attestorBuilder_.getMessage(); } } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { @@ -812,13 +934,17 @@ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor return this; } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttestor( com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder builderForValue) { @@ -832,19 +958,24 @@ public Builder setAttestor( return this; } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - attestor_ != null && - attestor_ != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && attestor_ != null + && attestor_ + != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -857,13 +988,17 @@ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attest return this; } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000004); @@ -876,13 +1011,17 @@ public Builder clearAttestor() { return this; } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestorBuilder() { bitField0_ |= 0x00000004; @@ -890,47 +1029,59 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor return getAttestorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null ? - com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } } /** + * + * *
      * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
      * in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( - getAttestor(), - getParentForChildren(), - isClean()); + attestorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( + getAttestor(), getParentForChildren(), isClean()); attestor_ = null; } return attestorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -940,41 +1091,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -986,9 +1139,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java index fc402cd0c28f..11672508229b 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/CreateAttestorRequestOrBuilder.java @@ -1,82 +1,126 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface CreateAttestorRequestOrBuilder extends +public interface CreateAttestorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * string parent = 1 [(.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 of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* - * string parent = 1 [(.google.api.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 [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The attestorId. */ java.lang.String getAttestorId(); /** + * + * *
    * Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID.
    * 
* * string attestor_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for attestorId. */ - com.google.protobuf.ByteString - getAttestorIdBytes(); + com.google.protobuf.ByteString getAttestorIdBytes(); /** + * + * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ boolean hasAttestor(); /** + * + * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor(); /** + * + * *
    * Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name,
    * in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder(); } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java similarity index 60% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java index 7bdcdb034bb6..33e55ac54475 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request message for [BinauthzManagementService.DeleteAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest} */ -public final class DeleteAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) DeleteAttestorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAttestorRequest.newBuilder() to construct. private DeleteAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
    * `projects/*/attestors/*`.
    * 
* - * string name = 1 [(.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 @@ -61,30 +86,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 [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
    * `projects/*/attestors/*`.
    * 
* - * string name = 1 [(.google.api.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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,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.binaryauthorization.v1beta1.DeleteAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other = + (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,138 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.DeleteAttestorRequest + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.DeleteAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,14 +325,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest + .getDefaultInstance(); } @java.lang.Override @@ -312,13 +348,17 @@ public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result = + new com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,46 +369,51 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.DeleteAt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest)other); + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +445,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +467,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.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; @@ -445,21 +497,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -467,30 +522,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string 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() { @@ -500,27 +566,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,41 +602,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,9 +650,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java new file mode 100644 index 000000000000..bffc8583c0af --- /dev/null +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface DeleteAttestorRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java similarity index 61% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java index 131a8aa2d8a5..cfd11523bee5 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request message for [BinauthzManagementService.GetAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetAttestorRequest} */ -public final class GetAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) GetAttestorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAttestorRequest.newBuilder() to construct. private GetAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAttestorRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
    * `projects/*/attestors/*`.
    * 
* - * string name = 1 [(.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 @@ -61,30 +86,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 [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
    * `projects/*/attestors/*`.
    * 
* - * string name = 1 [(.google.api.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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,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.binaryauthorization.v1beta1.GetAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other = + (com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.GetAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,13 +323,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest + getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest build() { @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result = + new com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,46 +366,50 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetAttes public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest)other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +463,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.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; @@ -445,21 +493,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -467,30 +518,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string 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() { @@ -500,27 +562,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
      * `projects/*/attestors/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,9 +646,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java new file mode 100644 index 000000000000..abf2d1f7dea6 --- /dev/null +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface GetAttestorRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
+   * `projects/*/attestors/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java similarity index 62% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java index d09e00beaa57..e9de165f5eb6 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request message for [BinauthzManagementService.GetPolicy][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetPolicyRequest} */ -public final class GetPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) GetPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPolicyRequest.newBuilder() to construct. private GetPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
    * in the format `projects/*/policy`.
    * 
* - * string name = 1 [(.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 @@ -61,30 +86,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 resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
    * in the format `projects/*/policy`.
    * 
* - * string name = 1 [(.google.api.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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,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.binaryauthorization.v1beta1.GetPolicyRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest other = (com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest other = + (com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.GetPolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.class, + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,13 +323,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest + getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest build() { @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result = new com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result = + new com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,38 +366,39 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetPolic public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest)other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +406,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +440,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +462,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.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; @@ -445,21 +492,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.google.api.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 { @@ -467,30 +517,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string 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() { @@ -500,27 +561,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
      * in the format `projects/*/policy`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,12 +597,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest(); } @@ -544,27 +612,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -579,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.GetPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java new file mode 100644 index 000000000000..269920e381b3 --- /dev/null +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface GetPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
+   * in the format `projects/*/policy`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
+   * in the format `projects/*/policy`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java similarity index 59% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java index 1803e9f3b39a..793348db39e2 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request to read the current system policy.
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest} */ -public final class GetSystemPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSystemPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) GetSystemPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSystemPolicyRequest.newBuilder() to construct. private GetSystemPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSystemPolicyRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSystemPolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name, in the format `locations/*/policy`.
    * Note that the system policy is not associated with a project.
    * 
* - * string name = 1 [(.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 @@ -61,30 +86,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 resource name, in the format `locations/*/policy`.
    * Note that the system policy is not associated with a project.
    * 
* - * string name = 1 [(.google.api.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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,15 +156,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.binaryauthorization.v1beta1.GetSystemPolicyRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other = (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other = + (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,138 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.GetSystemPolicyRequest + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 to read the current system policy.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.class, + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -291,14 +325,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + .getDefaultInstance(); } @java.lang.Override @@ -312,13 +348,17 @@ public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest build @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result = new com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result = + new com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,46 +369,51 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.GetSyste public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest)other); + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +445,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,23 +467,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.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; @@ -445,21 +497,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.google.api.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 { @@ -467,30 +522,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string 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() { @@ -500,27 +566,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name, in the format `locations/*/policy`.
      * Note that the system policy is not associated with a project.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -530,41 +602,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSystemPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSystemPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,9 +650,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java new file mode 100644 index 000000000000..a0d7aad18e99 --- /dev/null +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/binaryauthorization/v1beta1/service.proto + +package com.google.cloud.binaryauthorization.v1beta1; + +public interface GetSystemPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The resource name, in the format `locations/*/policy`.
+   * Note that the system policy is not associated with a project.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The resource name, in the format `locations/*/policy`.
+   * Note that the system policy is not associated with a project.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java similarity index 66% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java index 4bca0ff49b24..10c13ef4f50b 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request message for [BinauthzManagementService.ListAttestors][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest} */ -public final class ListAttestorsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAttestorsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) ListAttestorsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttestorsRequest.newBuilder() to construct. private ListAttestorsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAttestorsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +44,41 @@ private ListAttestorsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAttestorsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -62,30 +87,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 resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -96,12 +123,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Requested page size. The server may return fewer results than requested. If
    * unspecified, the server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -110,9 +140,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -120,6 +153,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -128,14 +162,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 token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -143,16 +178,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 { @@ -161,6 +195,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -196,8 +230,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_); @@ -210,19 +243,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.binaryauthorization.v1beta1.ListAttestorsRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other = (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other = + (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,131 +277,138 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ListAttestorsRequest + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.class, + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -382,13 +420,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest + getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance(); } @@ -403,13 +442,17 @@ public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest build() @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result = + new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -426,46 +469,50 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ListAtte public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest)other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -505,27 +552,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -535,23 +586,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.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; @@ -560,21 +616,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -582,30 +641,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * string 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() { @@ -615,18 +685,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The resource name of the project associated with the
      * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -634,14 +710,17 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -649,12 +728,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,12 +748,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Requested page size. The server may return fewer results than requested. If
      * unspecified, the server will pick an appropriate default.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -683,6 +768,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -690,13 +777,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; @@ -705,6 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -712,15 +801,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 { @@ -728,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -735,18 +825,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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -754,6 +848,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -763,6 +858,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A token identifying a page of results the server should return. Typically,
      * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -770,21 +867,23 @@ 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -794,41 +893,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,9 +941,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java index 17428813ea63..e2e7f7b4a48f 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsRequestOrBuilder.java @@ -1,46 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface ListAttestorsRequestOrBuilder extends +public interface ListAttestorsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * string parent = 1 [(.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 resource name of the project associated with the
    * [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`.
    * 
* - * string parent = 1 [(.google.api.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(); /** + * + * *
    * Requested page size. The server may return fewer results than requested. If
    * unspecified, the server will pick an appropriate default.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -48,10 +78,13 @@ public interface ListAttestorsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A token identifying a page of results the server should return. Typically,
    * this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned
@@ -59,8 +92,8 @@ public interface ListAttestorsRequestOrBuilder extends
    * 
* * 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/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java similarity index 71% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java index bb5545fc2412..6f74156f4ca1 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Response message for [BinauthzManagementService.ListAttestors][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse} */ -public final class ListAttestorsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAttestorsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) ListAttestorsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAttestorsResponse.newBuilder() to construct. private ListAttestorsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAttestorsResponse() { attestors_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAttestorsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAttestorsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); } public static final int ATTESTORS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List attestors_; /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -59,6 +81,8 @@ public java.util.List get return attestors_; } /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -66,11 +90,13 @@ public java.util.List get * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAttestorsOrBuilderList() { return attestors_; } /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -82,6 +108,8 @@ public int getAttestorsCount() { return attestors_.size(); } /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -93,6 +121,8 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestors(int in return attestors_.get(index); } /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -106,9 +136,12 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -116,6 +149,7 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,14 +158,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -139,16 +174,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -157,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < attestors_.size(); i++) { output.writeMessage(1, attestors_.get(i)); } @@ -186,8 +220,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < attestors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, attestors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, attestors_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -200,17 +233,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.binaryauthorization.v1beta1.ListAttestorsResponse)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other = (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) obj; + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other = + (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) obj; - if (!getAttestorsList() - .equals(other.getAttestorsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAttestorsList().equals(other.getAttestorsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,131 +266,138 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.ListAttestorsResponse + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.ListAttestors][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.class, + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -375,14 +414,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse + .getDefaultInstance(); } @java.lang.Override @@ -396,14 +437,18 @@ public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse(this); + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result = + new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { + private void buildPartialRepeatedFields( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { if (attestorsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attestors_ = java.util.Collections.unmodifiableList(attestors_); @@ -415,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1b } } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -426,46 +472,51 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.ListAtte public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse)other); + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse + .getDefaultInstance()) return this; if (attestorsBuilder_ == null) { if (!other.attestors_.isEmpty()) { if (attestors_.isEmpty()) { @@ -484,9 +535,10 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.ListAttest attestorsBuilder_ = null; attestors_ = other.attestors_; bitField0_ = (bitField0_ & ~0x00000001); - attestorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAttestorsFieldBuilder() : null; + attestorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAttestorsFieldBuilder() + : null; } else { attestorsBuilder_.addAllMessages(other.attestors_); } @@ -523,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.binaryauthorization.v1beta1.Attestor m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1.Attestor.parser(), - extensionRegistry); - if (attestorsBuilder_ == null) { - ensureAttestorsIsMutable(); - attestors_.add(m); - } else { - attestorsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.binaryauthorization.v1beta1.Attestor m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1.Attestor.parser(), + extensionRegistry); + if (attestorsBuilder_ == null) { + ensureAttestorsIsMutable(); + attestors_.add(m); + } else { + attestorsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -556,28 +611,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List attestors_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAttestorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - attestors_ = new java.util.ArrayList(attestors_); + attestors_ = + new java.util.ArrayList( + attestors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> attestorsBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + attestorsBuilder_; /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - public java.util.List getAttestorsList() { + public java.util.List + getAttestorsList() { if (attestorsBuilder_ == null) { return java.util.Collections.unmodifiableList(attestors_); } else { @@ -585,6 +650,8 @@ public java.util.List get } } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -599,6 +666,8 @@ public int getAttestorsCount() { } } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -613,6 +682,8 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestors(int in } } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -634,6 +705,8 @@ public Builder setAttestors( return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -652,6 +725,8 @@ public Builder setAttestors( return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -672,6 +747,8 @@ public Builder addAttestors(com.google.cloud.binaryauthorization.v1beta1.Attesto return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -693,6 +770,8 @@ public Builder addAttestors( return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -711,6 +790,8 @@ public Builder addAttestors( return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -729,6 +810,8 @@ public Builder addAttestors( return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -736,11 +819,11 @@ public Builder addAttestors( * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ public Builder addAllAttestors( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (attestorsBuilder_ == null) { ensureAttestorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, attestors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attestors_); onChanged(); } else { attestorsBuilder_.addAllMessages(values); @@ -748,6 +831,8 @@ public Builder addAllAttestors( return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -765,6 +850,8 @@ public Builder clearAttestors() { return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -782,6 +869,8 @@ public Builder removeAttestors(int index) { return this; } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -793,6 +882,8 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor return getAttestorsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -802,19 +893,22 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBuilder( int index) { if (attestorsBuilder_ == null) { - return attestors_.get(index); } else { + return attestors_.get(index); + } else { return attestorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - public java.util.List - getAttestorsOrBuilderList() { + public java.util.List + getAttestorsOrBuilderList() { if (attestorsBuilder_ != null) { return attestorsBuilder_.getMessageOrBuilderList(); } else { @@ -822,6 +916,8 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto } } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -829,10 +925,12 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttesto * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestorsBuilder() { - return getAttestorsFieldBuilder().addBuilder( - com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); + return getAttestorsFieldBuilder() + .addBuilder(com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
@@ -841,30 +939,36 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestor */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestorsBuilder( int index) { - return getAttestorsFieldBuilder().addBuilder( - index, com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); + return getAttestorsFieldBuilder() + .addBuilder( + index, com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()); } /** + * + * *
      * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
      * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - public java.util.List - getAttestorsBuilderList() { + public java.util.List + getAttestorsBuilderList() { return getAttestorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> getAttestorsFieldBuilder() { if (attestorsBuilder_ == null) { - attestorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( - attestors_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + attestorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( + attestors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); attestors_ = null; } return attestorsBuilder_; @@ -872,6 +976,8 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestor private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -879,13 +985,13 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder addAttestor
      * 
* * 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; @@ -894,6 +1000,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -901,15 +1009,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -917,6 +1024,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -924,18 +1033,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -943,6 +1056,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -952,6 +1066,8 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token to retrieve the next page of results. Pass this value in the
      * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -959,21 +1075,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -983,41 +1101,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) - private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse(); } - public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAttestorsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAttestorsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,9 +1149,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java index 3be2b8f07d27..dd0ff0b7ec7d 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ListAttestorsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface ListAttestorsResponseOrBuilder extends +public interface ListAttestorsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - java.util.List - getAttestorsList(); + java.util.List getAttestorsList(); /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -25,6 +44,8 @@ public interface ListAttestorsResponseOrBuilder extends */ com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestors(int index); /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
@@ -33,25 +54,30 @@ public interface ListAttestorsResponseOrBuilder extends */ int getAttestorsCount(); /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - java.util.List + java.util.List getAttestorsOrBuilderList(); /** + * + * *
    * The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor].
    * 
* * repeated .google.cloud.binaryauthorization.v1beta1.Attestor attestors = 1; */ - com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBuilder( - int index); + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBuilder(int index); /** + * + * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -59,10 +85,13 @@ com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBui
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token to retrieve the next page of results. Pass this value in the
    * [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the
@@ -70,8 +99,8 @@ com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorsOrBui
    * 
* * 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/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java similarity index 69% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java index 08af292c9af8..a72c991ce534 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKey.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * A public key in the PkixPublicKey format (see
  * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.PkixPublicKey}
  */
-public final class PkixPublicKey extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PkixPublicKey extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.PkixPublicKey)
     PkixPublicKeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PkixPublicKey.newBuilder() to construct.
   private PkixPublicKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PkixPublicKey() {
     publicKeyPem_ = "";
     signatureAlgorithm_ = 0;
@@ -29,25 +47,28 @@ private PkixPublicKey() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PkixPublicKey();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class,
+            com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Represents a signature algorithm and other information necessary to verify
    * signatures with a given public key.
@@ -59,9 +80,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm}
    */
-  public enum SignatureAlgorithm
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum SignatureAlgorithm implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not specified.
      * 
@@ -70,6 +92,8 @@ public enum SignatureAlgorithm */ SIGNATURE_ALGORITHM_UNSPECIFIED(0, 0), /** + * + * *
      * RSASSA-PSS 2048 bit key with a SHA256 digest.
      * 
@@ -78,6 +102,8 @@ public enum SignatureAlgorithm */ RSA_PSS_2048_SHA256(1, 1), /** + * + * *
      * RSASSA-PSS 3072 bit key with a SHA256 digest.
      * 
@@ -86,6 +112,8 @@ public enum SignatureAlgorithm */ RSA_PSS_3072_SHA256(2, 2), /** + * + * *
      * RSASSA-PSS 4096 bit key with a SHA256 digest.
      * 
@@ -94,6 +122,8 @@ public enum SignatureAlgorithm */ RSA_PSS_4096_SHA256(3, 3), /** + * + * *
      * RSASSA-PSS 4096 bit key with a SHA512 digest.
      * 
@@ -102,6 +132,8 @@ public enum SignatureAlgorithm */ RSA_PSS_4096_SHA512(4, 4), /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
      * 
@@ -110,6 +142,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_2048_SHA256(5, 5), /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
      * 
@@ -118,6 +152,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_3072_SHA256(6, 6), /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
      * 
@@ -126,6 +162,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_4096_SHA256(7, 7), /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
      * 
@@ -134,6 +172,8 @@ public enum SignatureAlgorithm */ RSA_SIGN_PKCS1_4096_SHA512(8, 8), /** + * + * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -142,6 +182,8 @@ public enum SignatureAlgorithm */ ECDSA_P256_SHA256(9, 9), /** + * + * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -150,6 +192,8 @@ public enum SignatureAlgorithm */ ECDSA_P384_SHA384(11, 10), /** + * + * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -161,6 +205,8 @@ public enum SignatureAlgorithm ; /** + * + * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -169,6 +215,8 @@ public enum SignatureAlgorithm */ public static final SignatureAlgorithm EC_SIGN_P256_SHA256 = ECDSA_P256_SHA256; /** + * + * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -177,6 +225,8 @@ public enum SignatureAlgorithm */ public static final SignatureAlgorithm EC_SIGN_P384_SHA384 = ECDSA_P384_SHA384; /** + * + * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -185,6 +235,8 @@ public enum SignatureAlgorithm */ public static final SignatureAlgorithm EC_SIGN_P521_SHA512 = ECDSA_P521_SHA512; /** + * + * *
      * Not specified.
      * 
@@ -193,6 +245,8 @@ public enum SignatureAlgorithm */ public static final int SIGNATURE_ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * RSASSA-PSS 2048 bit key with a SHA256 digest.
      * 
@@ -201,6 +255,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_2048_SHA256_VALUE = 1; /** + * + * *
      * RSASSA-PSS 3072 bit key with a SHA256 digest.
      * 
@@ -209,6 +265,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_3072_SHA256_VALUE = 2; /** + * + * *
      * RSASSA-PSS 4096 bit key with a SHA256 digest.
      * 
@@ -217,6 +275,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_4096_SHA256_VALUE = 3; /** + * + * *
      * RSASSA-PSS 4096 bit key with a SHA512 digest.
      * 
@@ -225,6 +285,8 @@ public enum SignatureAlgorithm */ public static final int RSA_PSS_4096_SHA512_VALUE = 4; /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest.
      * 
@@ -233,6 +295,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_2048_SHA256_VALUE = 5; /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest.
      * 
@@ -241,6 +305,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_3072_SHA256_VALUE = 6; /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest.
      * 
@@ -249,6 +315,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_4096_SHA256_VALUE = 7; /** + * + * *
      * RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest.
      * 
@@ -257,6 +325,8 @@ public enum SignatureAlgorithm */ public static final int RSA_SIGN_PKCS1_4096_SHA512_VALUE = 8; /** + * + * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -265,6 +335,8 @@ public enum SignatureAlgorithm */ public static final int ECDSA_P256_SHA256_VALUE = 9; /** + * + * *
      * ECDSA on the NIST P-256 curve with a SHA256 digest.
      * 
@@ -273,6 +345,8 @@ public enum SignatureAlgorithm */ public static final int EC_SIGN_P256_SHA256_VALUE = 9; /** + * + * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -281,6 +355,8 @@ public enum SignatureAlgorithm */ public static final int ECDSA_P384_SHA384_VALUE = 10; /** + * + * *
      * ECDSA on the NIST P-384 curve with a SHA384 digest.
      * 
@@ -289,6 +365,8 @@ public enum SignatureAlgorithm */ public static final int EC_SIGN_P384_SHA384_VALUE = 10; /** + * + * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -297,6 +375,8 @@ public enum SignatureAlgorithm */ public static final int ECDSA_P521_SHA512_VALUE = 11; /** + * + * *
      * ECDSA on the NIST P-521 curve with a SHA512 digest.
      * 
@@ -305,7 +385,6 @@ public enum SignatureAlgorithm */ public static final int EC_SIGN_P521_SHA512_VALUE = 11; - public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( @@ -330,19 +409,32 @@ public static SignatureAlgorithm valueOf(int value) { */ public static SignatureAlgorithm forNumber(int value) { switch (value) { - case 0: return SIGNATURE_ALGORITHM_UNSPECIFIED; - case 1: return RSA_PSS_2048_SHA256; - case 2: return RSA_PSS_3072_SHA256; - case 3: return RSA_PSS_4096_SHA256; - case 4: return RSA_PSS_4096_SHA512; - case 5: return RSA_SIGN_PKCS1_2048_SHA256; - case 6: return RSA_SIGN_PKCS1_3072_SHA256; - case 7: return RSA_SIGN_PKCS1_4096_SHA256; - case 8: return RSA_SIGN_PKCS1_4096_SHA512; - case 9: return ECDSA_P256_SHA256; - case 10: return ECDSA_P384_SHA384; - case 11: return ECDSA_P521_SHA512; - default: return null; + case 0: + return SIGNATURE_ALGORITHM_UNSPECIFIED; + case 1: + return RSA_PSS_2048_SHA256; + case 2: + return RSA_PSS_3072_SHA256; + case 3: + return RSA_PSS_4096_SHA256; + case 4: + return RSA_PSS_4096_SHA512; + case 5: + return RSA_SIGN_PKCS1_2048_SHA256; + case 6: + return RSA_SIGN_PKCS1_3072_SHA256; + case 7: + return RSA_SIGN_PKCS1_4096_SHA256; + case 8: + return RSA_SIGN_PKCS1_4096_SHA512; + case 9: + return ECDSA_P256_SHA256; + case 10: + return ECDSA_P384_SHA384; + case 11: + return ECDSA_P521_SHA512; + default: + return null; } } @@ -350,42 +442,59 @@ public static SignatureAlgorithm forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - SignatureAlgorithm> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public SignatureAlgorithm findValueByNumber(int number) { - return SignatureAlgorithm.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 SignatureAlgorithm findValueByNumber(int number) { + return SignatureAlgorithm.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (index == -1) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(index); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDescriptor() + .getEnumTypes() + .get(0); } private static final SignatureAlgorithm[] VALUES = getStaticValuesArray(); + private static SignatureAlgorithm[] getStaticValuesArray() { return new SignatureAlgorithm[] { - SIGNATURE_ALGORITHM_UNSPECIFIED, RSA_PSS_2048_SHA256, RSA_PSS_3072_SHA256, RSA_PSS_4096_SHA256, RSA_PSS_4096_SHA512, RSA_SIGN_PKCS1_2048_SHA256, RSA_SIGN_PKCS1_3072_SHA256, RSA_SIGN_PKCS1_4096_SHA256, RSA_SIGN_PKCS1_4096_SHA512, ECDSA_P256_SHA256, EC_SIGN_P256_SHA256, ECDSA_P384_SHA384, EC_SIGN_P384_SHA384, ECDSA_P521_SHA512, EC_SIGN_P521_SHA512, + SIGNATURE_ALGORITHM_UNSPECIFIED, + RSA_PSS_2048_SHA256, + RSA_PSS_3072_SHA256, + RSA_PSS_4096_SHA256, + RSA_PSS_4096_SHA512, + RSA_SIGN_PKCS1_2048_SHA256, + RSA_SIGN_PKCS1_3072_SHA256, + RSA_SIGN_PKCS1_4096_SHA256, + RSA_SIGN_PKCS1_4096_SHA512, + ECDSA_P256_SHA256, + EC_SIGN_P256_SHA256, + ECDSA_P384_SHA384, + EC_SIGN_P384_SHA384, + ECDSA_P521_SHA512, + EC_SIGN_P521_SHA512, }; } + public static SignatureAlgorithm 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; @@ -405,15 +514,19 @@ private SignatureAlgorithm(int index, int value) { } public static final int PUBLIC_KEY_PEM_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object publicKeyPem_ = ""; /** + * + * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; + * * @return The publicKeyPem. */ @java.lang.Override @@ -422,30 +535,30 @@ public java.lang.String getPublicKeyPem() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; } } /** + * + * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; + * * @return The bytes for publicKeyPem. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicKeyPemBytes() { + public com.google.protobuf.ByteString getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -456,6 +569,8 @@ public java.lang.String getPublicKeyPem() { public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER = 2; private int signatureAlgorithm_ = 0; /** + * + * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -464,13 +579,19 @@ public java.lang.String getPublicKeyPem() {
    * that of the public key).
    * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override public int getSignatureAlgorithmValue() { + @java.lang.Override + public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** + * + * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -479,15 +600,25 @@ public java.lang.String getPublicKeyPem() {
    * that of the public key).
    * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The signatureAlgorithm. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm + getSignatureAlgorithm() { + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber( + signatureAlgorithm_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -499,12 +630,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(publicKeyPem_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, publicKeyPem_); } - if (signatureAlgorithm_ != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { + if (signatureAlgorithm_ + != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm + .SIGNATURE_ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(2, signatureAlgorithm_); } getUnknownFields().writeTo(output); @@ -519,9 +652,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKeyPem_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, publicKeyPem_); } - if (signatureAlgorithm_ != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.SIGNATURE_ALGORITHM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, signatureAlgorithm_); + if (signatureAlgorithm_ + != com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm + .SIGNATURE_ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, signatureAlgorithm_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -531,15 +666,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.binaryauthorization.v1beta1.PkixPublicKey)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey other = (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) obj; + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey other = + (com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) obj; - if (!getPublicKeyPem() - .equals(other.getPublicKeyPem())) return false; + if (!getPublicKeyPem().equals(other.getPublicKeyPem())) return false; if (signatureAlgorithm_ != other.signatureAlgorithm_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -562,98 +697,104 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 public key in the PkixPublicKey format (see
    * https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
@@ -663,33 +804,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.PkixPublicKey}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.PkixPublicKey)
       com.google.cloud.binaryauthorization.v1beta1.PkixPublicKeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class, com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.class,
+              com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.Builder.class);
     }
 
     // Construct using com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -700,9 +840,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor;
     }
 
     @java.lang.Override
@@ -721,8 +861,11 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey build() {
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey result = new com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey result =
+          new com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -741,38 +884,39 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.PkixPubl
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey)other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -780,7 +924,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance()) return this;
+      if (other == com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.getDefaultInstance())
+        return this;
       if (!other.getPublicKeyPem().isEmpty()) {
         publicKeyPem_ = other.publicKeyPem_;
         bitField0_ |= 0x00000001;
@@ -815,22 +960,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              publicKeyPem_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              signatureAlgorithm_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                publicKeyPem_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                signatureAlgorithm_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -840,23 +988,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object publicKeyPem_ = "";
     /**
+     *
+     *
      * 
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @return The publicKeyPem. */ public java.lang.String getPublicKeyPem() { java.lang.Object ref = publicKeyPem_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicKeyPem_ = s; return s; @@ -865,21 +1016,22 @@ public java.lang.String getPublicKeyPem() { } } /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @return The bytes for publicKeyPem. */ - public com.google.protobuf.ByteString - getPublicKeyPemBytes() { + public com.google.protobuf.ByteString getPublicKeyPemBytes() { java.lang.Object ref = publicKeyPem_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicKeyPem_ = b; return b; } else { @@ -887,30 +1039,37 @@ public java.lang.String getPublicKeyPem() { } } /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @param value The publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPem( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyPem(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } publicKeyPem_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @return This builder for chaining. */ public Builder clearPublicKeyPem() { @@ -920,18 +1079,22 @@ public Builder clearPublicKeyPem() { return this; } /** + * + * *
      * A PEM-encoded public key, as described in
      * https://tools.ietf.org/html/rfc7468#section-13
      * 
* * string public_key_pem = 1; + * * @param value The bytes for publicKeyPem to set. * @return This builder for chaining. */ - public Builder setPublicKeyPemBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPublicKeyPemBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); publicKeyPem_ = value; bitField0_ |= 0x00000001; @@ -941,6 +1104,8 @@ public Builder setPublicKeyPemBytes( private int signatureAlgorithm_ = 0; /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -949,13 +1114,19 @@ public Builder setPublicKeyPemBytes(
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The enum numeric value on the wire for signatureAlgorithm. */ - @java.lang.Override public int getSignatureAlgorithmValue() { + @java.lang.Override + public int getSignatureAlgorithmValue() { return signatureAlgorithm_; } /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -964,7 +1135,10 @@ public Builder setPublicKeyPemBytes(
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @param value The enum numeric value on the wire for signatureAlgorithm to set. * @return This builder for chaining. */ @@ -975,6 +1149,8 @@ public Builder setSignatureAlgorithmValue(int value) { return this; } /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -983,15 +1159,26 @@ public Builder setSignatureAlgorithmValue(int value) {
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The signatureAlgorithm. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm() { - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber(signatureAlgorithm_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm + getSignatureAlgorithm() { + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm result = + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm.forNumber( + signatureAlgorithm_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm + .UNRECOGNIZED + : result; } /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -1000,11 +1187,15 @@ public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgor
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @param value The signatureAlgorithm to set. * @return This builder for chaining. */ - public Builder setSignatureAlgorithm(com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm value) { + public Builder setSignatureAlgorithm( + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm value) { if (value == null) { throw new NullPointerException(); } @@ -1014,6 +1205,8 @@ public Builder setSignatureAlgorithm(com.google.cloud.binaryauthorization.v1beta return this; } /** + * + * *
      * The signature algorithm used to verify a message against a signature using
      * this key.
@@ -1022,7 +1215,10 @@ public Builder setSignatureAlgorithm(com.google.cloud.binaryauthorization.v1beta
      * that of the public key).
      * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return This builder for chaining. */ public Builder clearSignatureAlgorithm() { @@ -1031,9 +1227,9 @@ public Builder clearSignatureAlgorithm() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1043,12 +1239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.PkixPublicKey) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.PkixPublicKey) private static final com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey(); } @@ -1057,27 +1253,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PkixPublicKey parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PkixPublicKey parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1092,6 +1288,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java similarity index 60% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java index 487c6c9b00c7..9b438cb32de1 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PkixPublicKeyOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface PkixPublicKeyOrBuilder extends +public interface PkixPublicKeyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.PkixPublicKey) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; + * * @return The publicKeyPem. */ java.lang.String getPublicKeyPem(); /** + * + * *
    * A PEM-encoded public key, as described in
    * https://tools.ietf.org/html/rfc7468#section-13
    * 
* * string public_key_pem = 1; + * * @return The bytes for publicKeyPem. */ - com.google.protobuf.ByteString - getPublicKeyPemBytes(); + com.google.protobuf.ByteString getPublicKeyPemBytes(); /** + * + * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -38,11 +61,16 @@ public interface PkixPublicKeyOrBuilder extends
    * that of the public key).
    * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The enum numeric value on the wire for signatureAlgorithm. */ int getSignatureAlgorithmValue(); /** + * + * *
    * The signature algorithm used to verify a message against a signature using
    * this key.
@@ -51,8 +79,12 @@ public interface PkixPublicKeyOrBuilder extends
    * that of the public key).
    * 
* - * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * .google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm signature_algorithm = 2; + * + * * @return The signatureAlgorithm. */ - com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm getSignatureAlgorithm(); + com.google.cloud.binaryauthorization.v1beta1.PkixPublicKey.SignatureAlgorithm + getSignatureAlgorithm(); } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java similarity index 57% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java index a951adaf2aa7..cd121b8586d0 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/Policy.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * A [policy][google.cloud.binaryauthorization.v1beta1.Policy] for Binary Authorization.
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Policy} */ -public final class Policy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Policy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.Policy) PolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Policy.newBuilder() to construct. private Policy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Policy() { name_ = ""; description_ = ""; @@ -28,20 +46,18 @@ private Policy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Policy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -52,24 +68,28 @@ protected com.google.protobuf.MapField internalGetMapField( case 9: return internalGetIstioServiceIdentityAdmissionRules(); 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.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.Policy.class, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.Policy.class, + com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); } /** - * Protobuf enum {@code google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode} + * Protobuf enum {@code + * google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode} */ - public enum GlobalPolicyEvaluationMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum GlobalPolicyEvaluationMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not specified: DISABLE is assumed.
      * 
@@ -78,6 +98,8 @@ public enum GlobalPolicyEvaluationMode */ GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED(0), /** + * + * *
      * Enables system policy evaluation.
      * 
@@ -86,6 +108,8 @@ public enum GlobalPolicyEvaluationMode */ ENABLE(1), /** + * + * *
      * Disables system policy evaluation.
      * 
@@ -97,6 +121,8 @@ public enum GlobalPolicyEvaluationMode ; /** + * + * *
      * Not specified: DISABLE is assumed.
      * 
@@ -105,6 +131,8 @@ public enum GlobalPolicyEvaluationMode */ public static final int GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Enables system policy evaluation.
      * 
@@ -113,6 +141,8 @@ public enum GlobalPolicyEvaluationMode */ public static final int ENABLE_VALUE = 1; /** + * + * *
      * Disables system policy evaluation.
      * 
@@ -121,7 +151,6 @@ public enum GlobalPolicyEvaluationMode */ public static final int DISABLE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -146,10 +175,14 @@ public static GlobalPolicyEvaluationMode valueOf(int value) { */ public static GlobalPolicyEvaluationMode forNumber(int value) { switch (value) { - case 0: return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; - case 1: return ENABLE; - case 2: return DISABLE; - default: return null; + case 0: + return GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED; + case 1: + return ENABLE; + case 2: + return DISABLE; + default: + return null; } } @@ -157,29 +190,31 @@ public static GlobalPolicyEvaluationMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GlobalPolicyEvaluationMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GlobalPolicyEvaluationMode findValueByNumber(int number) { - return GlobalPolicyEvaluationMode.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 GlobalPolicyEvaluationMode findValueByNumber(int number) { + return GlobalPolicyEvaluationMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.Policy.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.Policy.getDescriptor() + .getEnumTypes() + .get(0); } private static final GlobalPolicyEvaluationMode[] VALUES = values(); @@ -187,8 +222,7 @@ public GlobalPolicyEvaluationMode findValueByNumber(int number) { public static GlobalPolicyEvaluationMode 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; @@ -206,15 +240,19 @@ private GlobalPolicyEvaluationMode(int value) { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -223,30 +261,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; } } /** + * + * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -255,14 +293,18 @@ public java.lang.String getName() { } public static final int DESCRIPTION_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ @java.lang.Override @@ -271,29 +313,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -304,6 +346,8 @@ public java.lang.String getDescription() { public static final int GLOBAL_POLICY_EVALUATION_MODE_FIELD_NUMBER = 7; private int globalPolicyEvaluationMode_ = 0; /** + * + * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -311,13 +355,19 @@ public java.lang.String getDescription() {
    * has no effect when specified inside a global admission policy.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override + public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** + * + * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -325,112 +375,160 @@ public java.lang.String getDescription() {
    * has no effect when specified inside a global admission policy.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The globalPolicyEvaluationMode. */ - @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode + getGlobalPolicyEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber( + globalPolicyEvaluationMode_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode + .UNRECOGNIZED + : result; } public static final int ADMISSION_WHITELIST_PATTERNS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List admissionWhitelistPatterns_; + private java.util.List + admissionWhitelistPatterns_; /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getAdmissionWhitelistPatternsList() { + public java.util.List + getAdmissionWhitelistPatternsList() { return admissionWhitelistPatterns_; } /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsOrBuilderList() { return admissionWhitelistPatterns_; } /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public int getAdmissionWhitelistPatternsCount() { return admissionWhitelistPatterns_.size(); } /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + getAdmissionWhitelistPatterns(int index) { return admissionWhitelistPatterns_.get(index); } /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder + getAdmissionWhitelistPatternsOrBuilder(int index) { return admissionWhitelistPatterns_.get(index); } public static final int CLUSTER_ADMISSION_RULES_FIELD_NUMBER = 3; + private static final class ClusterAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1 + .BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> clusterAdmissionRules_; - private com.google.protobuf.MapField - internalGetClusterAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + clusterAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } return clusterAdmissionRules_; } + public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** + * + * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -441,23 +539,27 @@ public int getClusterAdmissionRulesCount() {
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsClusterAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsClusterAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getClusterAdmissionRulesMap()} instead. - */ + /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getClusterAdmissionRules() { + public java.util.Map + getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** + * + * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -468,13 +570,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
-  public java.util.Map getClusterAdmissionRulesMap() {
+  public java.util.Map
+      getClusterAdmissionRulesMap() {
     return internalGetClusterAdmissionRules().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -485,20 +592,26 @@ public java.util.Map
    *
-   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault(
-      java.lang.String key,
-      /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetClusterAdmissionRules().getMap();
+  public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule
+      getClusterAdmissionRulesOrDefault(
+          java.lang.String key,
+          /* nullable */
+          com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map
+        map = internalGetClusterAdmissionRules().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -509,14 +622,18 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetClusterAdmissionRules().getMap(); + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -524,98 +641,130 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmi } public static final int KUBERNETES_NAMESPACE_ADMISSION_RULES_FIELD_NUMBER = 10; + private static final class KubernetesNamespaceAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1 + .BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesNamespaceAdmissionRules_; - private com.google.protobuf.MapField - internalGetKubernetesNamespaceAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesNamespaceAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesNamespaceAdmissionRules_; } + public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesNamespaceAdmissionRules() { + public java.util.Map + getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map + getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -623,98 +772,130 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesN } public static final int KUBERNETES_SERVICE_ACCOUNT_ADMISSION_RULES_FIELD_NUMBER = 8; + private static final class KubernetesServiceAccountAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1 + .BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesServiceAccountAdmissionRules_; - private com.google.protobuf.MapField - internalGetKubernetesServiceAccountAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesServiceAccountAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } return kubernetesServiceAccountAdmissionRules_; } + public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesServiceAccountAdmissionRules() { + public java.util.Map + getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map + getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -722,32 +903,45 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesS } public static final int ISTIO_SERVICE_IDENTITY_ADMISSION_RULES_FIELD_NUMBER = 9; + private static final class IstioServiceIdentityAdmissionRulesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> defaultEntry = + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()); + . + newDefaultInstance( + com.google.cloud.binaryauthorization.v1beta1 + .BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + .getDefaultInstance()); } + @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> istioServiceIdentityAdmissionRules_; - private com.google.protobuf.MapField - internalGetIstioServiceIdentityAdmissionRules() { + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + istioServiceIdentityAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } return istioServiceIdentityAdmissionRules_; } + public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** + * + * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -756,23 +950,27 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. - */ + /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIstioServiceIdentityAdmissionRules() { + public java.util.Map + getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** + * + * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -781,13 +979,18 @@ public java.util.Map
    *
-   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
-  public java.util.Map getIstioServiceIdentityAdmissionRulesMap() {
+  public java.util.Map
+      getIstioServiceIdentityAdmissionRulesMap() {
     return internalGetIstioServiceIdentityAdmissionRules().getMap();
   }
   /**
+   *
+   *
    * 
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -796,20 +999,26 @@ public java.util.Map
    *
-   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
-  public /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault(
-      java.lang.String key,
-      /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetIstioServiceIdentityAdmissionRules().getMap();
+  public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule
+      getIstioServiceIdentityAdmissionRulesOrDefault(
+          java.lang.String key,
+          /* nullable */
+          com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map
+        map = internalGetIstioServiceIdentityAdmissionRules().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -818,14 +1027,18 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdenti
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -835,12 +1048,17 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServic public static final int DEFAULT_ADMISSION_RULE_FIELD_NUMBER = 4; private com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultAdmissionRule_; /** + * + * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the defaultAdmissionRule field is set. */ @java.lang.Override @@ -848,39 +1066,57 @@ public boolean hasDefaultAdmissionRule() { return defaultAdmissionRule_ != null; } /** + * + * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The defaultAdmissionRule. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultAdmissionRule() { - return defaultAdmissionRule_ == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + return defaultAdmissionRule_ == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() + : defaultAdmissionRule_; } /** + * + * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { - return defaultAdmissionRule_ == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder + getDefaultAdmissionRuleOrBuilder() { + return defaultAdmissionRule_ == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() + : defaultAdmissionRule_; } public static final int UPDATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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 @@ -888,11 +1124,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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 @@ -900,11 +1140,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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() { @@ -912,6 +1155,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -923,16 +1167,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_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { output.writeMessage(2, admissionWhitelistPatterns_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetClusterAdmissionRules(), ClusterAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -946,23 +1188,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_); } - if (globalPolicyEvaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { + if (globalPolicyEvaluationMode_ + != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode + .GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(7, globalPolicyEvaluationMode_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetKubernetesServiceAccountAdmissionRules(), KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry, 8); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetIstioServiceIdentityAdmissionRules(), IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry, 9); - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetKubernetesNamespaceAdmissionRules(), KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry, @@ -980,63 +1222,83 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < admissionWhitelistPatterns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, admissionWhitelistPatterns_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetClusterAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - clusterAdmissionRules__ = ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, clusterAdmissionRules__); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, admissionWhitelistPatterns_.get(i)); + } + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + entry : internalGetClusterAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + clusterAdmissionRules__ = + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, clusterAdmissionRules__); } if (defaultAdmissionRule_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getDefaultAdmissionRule()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getDefaultAdmissionRule()); } 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(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_); } - if (globalPolicyEvaluationMode_ != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, globalPolicyEvaluationMode_); - } - for (java.util.Map.Entry entry - : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - kubernetesServiceAccountAdmissionRules__ = KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, kubernetesServiceAccountAdmissionRules__); - } - for (java.util.Map.Entry entry - : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - istioServiceIdentityAdmissionRules__ = IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, istioServiceIdentityAdmissionRules__); - } - for (java.util.Map.Entry entry - : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { - com.google.protobuf.MapEntry - kubernetesNamespaceAdmissionRules__ = KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, kubernetesNamespaceAdmissionRules__); + if (globalPolicyEvaluationMode_ + != com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode + .GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, globalPolicyEvaluationMode_); + } + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + entry : internalGetKubernetesServiceAccountAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesServiceAccountAdmissionRules__ = + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, kubernetesServiceAccountAdmissionRules__); + } + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + entry : internalGetIstioServiceIdentityAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + istioServiceIdentityAdmissionRules__ = + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, istioServiceIdentityAdmissionRules__); + } + for (java.util.Map.Entry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + entry : internalGetKubernetesNamespaceAdmissionRules().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesNamespaceAdmissionRules__ = + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, kubernetesNamespaceAdmissionRules__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1046,37 +1308,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.binaryauthorization.v1beta1.Policy)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.Policy other = (com.google.cloud.binaryauthorization.v1beta1.Policy) obj; + com.google.cloud.binaryauthorization.v1beta1.Policy other = + (com.google.cloud.binaryauthorization.v1beta1.Policy) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (globalPolicyEvaluationMode_ != other.globalPolicyEvaluationMode_) return false; - if (!getAdmissionWhitelistPatternsList() - .equals(other.getAdmissionWhitelistPatternsList())) return false; - if (!internalGetClusterAdmissionRules().equals( - other.internalGetClusterAdmissionRules())) return false; - if (!internalGetKubernetesNamespaceAdmissionRules().equals( - other.internalGetKubernetesNamespaceAdmissionRules())) return false; - if (!internalGetKubernetesServiceAccountAdmissionRules().equals( - other.internalGetKubernetesServiceAccountAdmissionRules())) return false; - if (!internalGetIstioServiceIdentityAdmissionRules().equals( - other.internalGetIstioServiceIdentityAdmissionRules())) return false; + if (!getAdmissionWhitelistPatternsList().equals(other.getAdmissionWhitelistPatternsList())) + return false; + if (!internalGetClusterAdmissionRules().equals(other.internalGetClusterAdmissionRules())) + return false; + if (!internalGetKubernetesNamespaceAdmissionRules() + .equals(other.internalGetKubernetesNamespaceAdmissionRules())) return false; + if (!internalGetKubernetesServiceAccountAdmissionRules() + .equals(other.internalGetKubernetesServiceAccountAdmissionRules())) return false; + if (!internalGetIstioServiceIdentityAdmissionRules() + .equals(other.internalGetIstioServiceIdentityAdmissionRules())) return false; if (hasDefaultAdmissionRule() != other.hasDefaultAdmissionRule()) return false; if (hasDefaultAdmissionRule()) { - if (!getDefaultAdmissionRule() - .equals(other.getDefaultAdmissionRule())) return false; + if (!getDefaultAdmissionRule().equals(other.getDefaultAdmissionRule())) 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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1129,116 +1388,120 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.Policy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.Policy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.Policy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.Policy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [policy][google.cloud.binaryauthorization.v1beta1.Policy] for Binary Authorization.
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.Policy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.Policy) com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetClusterAdmissionRules(); @@ -1249,13 +1512,12 @@ protected com.google.protobuf.MapField internalGetMapField( case 9: return internalGetIstioServiceIdentityAdmissionRules(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableClusterAdmissionRules(); @@ -1266,28 +1528,27 @@ protected com.google.protobuf.MapField internalGetMutableMapField( case 9: return internalGetMutableIstioServiceIdentityAdmissionRules(); 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.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.Policy.class, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.Policy.class, + com.google.cloud.binaryauthorization.v1beta1.Policy.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.Policy.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1320,9 +1581,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto + .internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor; } @java.lang.Override @@ -1341,17 +1602,22 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy build() { @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Policy buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.Policy result = new com.google.cloud.binaryauthorization.v1beta1.Policy(this); + com.google.cloud.binaryauthorization.v1beta1.Policy result = + new com.google.cloud.binaryauthorization.v1beta1.Policy(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.Policy result) { + private void buildPartialRepeatedFields( + com.google.cloud.binaryauthorization.v1beta1.Policy result) { if (admissionWhitelistPatternsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = + java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); bitField0_ = (bitField0_ & ~0x00000008); } result.admissionWhitelistPatterns_ = admissionWhitelistPatterns_; @@ -1380,22 +1646,23 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Policy r result.kubernetesNamespaceAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000040) != 0)) { - result.kubernetesServiceAccountAdmissionRules_ = internalGetKubernetesServiceAccountAdmissionRules(); + result.kubernetesServiceAccountAdmissionRules_ = + internalGetKubernetesServiceAccountAdmissionRules(); result.kubernetesServiceAccountAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000080) != 0)) { - result.istioServiceIdentityAdmissionRules_ = internalGetIstioServiceIdentityAdmissionRules(); + result.istioServiceIdentityAdmissionRules_ = + internalGetIstioServiceIdentityAdmissionRules(); result.istioServiceIdentityAdmissionRules_.makeImmutable(); } if (((from_bitField0_ & 0x00000100) != 0)) { - result.defaultAdmissionRule_ = defaultAdmissionRuleBuilder_ == null - ? defaultAdmissionRule_ - : defaultAdmissionRuleBuilder_.build(); + result.defaultAdmissionRule_ = + defaultAdmissionRuleBuilder_ == null + ? defaultAdmissionRule_ + : defaultAdmissionRuleBuilder_.build(); } if (((from_bitField0_ & 0x00000200) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); } } @@ -1403,38 +1670,39 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.Policy r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.Policy) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Policy)other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.Policy) other); } else { super.mergeFrom(other); return this; @@ -1442,7 +1710,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Policy other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) return this; + if (other == com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1474,25 +1743,25 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.Policy oth admissionWhitelistPatternsBuilder_ = null; admissionWhitelistPatterns_ = other.admissionWhitelistPatterns_; bitField0_ = (bitField0_ & ~0x00000008); - admissionWhitelistPatternsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdmissionWhitelistPatternsFieldBuilder() : null; + admissionWhitelistPatternsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdmissionWhitelistPatternsFieldBuilder() + : null; } else { admissionWhitelistPatternsBuilder_.addAllMessages(other.admissionWhitelistPatterns_); } } } - internalGetMutableClusterAdmissionRules().mergeFrom( - other.internalGetClusterAdmissionRules()); + internalGetMutableClusterAdmissionRules().mergeFrom(other.internalGetClusterAdmissionRules()); bitField0_ |= 0x00000010; - internalGetMutableKubernetesNamespaceAdmissionRules().mergeFrom( - other.internalGetKubernetesNamespaceAdmissionRules()); + internalGetMutableKubernetesNamespaceAdmissionRules() + .mergeFrom(other.internalGetKubernetesNamespaceAdmissionRules()); bitField0_ |= 0x00000020; - internalGetMutableKubernetesServiceAccountAdmissionRules().mergeFrom( - other.internalGetKubernetesServiceAccountAdmissionRules()); + internalGetMutableKubernetesServiceAccountAdmissionRules() + .mergeFrom(other.internalGetKubernetesServiceAccountAdmissionRules()); bitField0_ |= 0x00000040; - internalGetMutableIstioServiceIdentityAdmissionRules().mergeFrom( - other.internalGetIstioServiceIdentityAdmissionRules()); + internalGetMutableIstioServiceIdentityAdmissionRules() + .mergeFrom(other.internalGetIstioServiceIdentityAdmissionRules()); bitField0_ |= 0x00000080; if (other.hasDefaultAdmissionRule()) { mergeDefaultAdmissionRule(other.getDefaultAdmissionRule()); @@ -1526,90 +1795,128 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern m = - input.readMessage( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.parser(), - extensionRegistry); - if (admissionWhitelistPatternsBuilder_ == null) { - ensureAdmissionWhitelistPatternsIsMutable(); - admissionWhitelistPatterns_.add(m); - } else { - admissionWhitelistPatternsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - clusterAdmissionRules__ = input.readMessage( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableClusterAdmissionRules().getMutableMap().put( - clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 34: { - input.readMessage( - getDefaultAdmissionRuleFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000200; - break; - } // case 42 - case 50: { - description_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 50 - case 56: { - globalPolicyEvaluationMode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 56 - case 66: { - com.google.protobuf.MapEntry - kubernetesServiceAccountAdmissionRules__ = input.readMessage( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put( - kubernetesServiceAccountAdmissionRules__.getKey(), kubernetesServiceAccountAdmissionRules__.getValue()); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 74: { - com.google.protobuf.MapEntry - istioServiceIdentityAdmissionRules__ = input.readMessage( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put( - istioServiceIdentityAdmissionRules__.getKey(), istioServiceIdentityAdmissionRules__.getValue()); - bitField0_ |= 0x00000080; - break; - } // case 74 - case 82: { - com.google.protobuf.MapEntry - kubernetesNamespaceAdmissionRules__ = input.readMessage( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put( - kubernetesNamespaceAdmissionRules__.getKey(), kubernetesNamespaceAdmissionRules__.getValue()); - bitField0_ |= 0x00000020; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern m = + input.readMessage( + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + .parser(), + extensionRegistry); + if (admissionWhitelistPatternsBuilder_ == null) { + ensureAdmissionWhitelistPatternsIsMutable(); + admissionWhitelistPatterns_.add(m); + } else { + admissionWhitelistPatternsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + clusterAdmissionRules__ = + input.readMessage( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableClusterAdmissionRules() + .getMutableMap() + .put(clusterAdmissionRules__.getKey(), clusterAdmissionRules__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 34: + { + input.readMessage( + getDefaultAdmissionRuleFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000200; + break; + } // case 42 + case 50: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 50 + case 56: + { + globalPolicyEvaluationMode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 56 + case 66: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesServiceAccountAdmissionRules__ = + input.readMessage( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableKubernetesServiceAccountAdmissionRules() + .getMutableMap() + .put( + kubernetesServiceAccountAdmissionRules__.getKey(), + kubernetesServiceAccountAdmissionRules__.getValue()); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 74: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + istioServiceIdentityAdmissionRules__ = + input.readMessage( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableIstioServiceIdentityAdmissionRules() + .getMutableMap() + .put( + istioServiceIdentityAdmissionRules__.getKey(), + istioServiceIdentityAdmissionRules__.getValue()); + bitField0_ |= 0x00000080; + break; + } // case 74 + case 82: + { + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesNamespaceAdmissionRules__ = + input.readMessage( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry + .getParserForType(), + extensionRegistry); + internalGetMutableKubernetesNamespaceAdmissionRules() + .getMutableMap() + .put( + kubernetesNamespaceAdmissionRules__.getKey(), + kubernetesNamespaceAdmissionRules__.getValue()); + bitField0_ |= 0x00000020; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1619,23 +1926,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1644,21 +1954,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1666,30 +1977,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1699,18 +2017,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name, in the format `projects/*/policy`. There is
      * at most one policy per project.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1720,18 +2042,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1740,20 +2064,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1761,28 +2086,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1792,17 +2124,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * Optional. A descriptive comment.
      * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000002; @@ -1812,6 +2148,8 @@ public Builder setDescriptionBytes( private int globalPolicyEvaluationMode_ = 0; /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -1819,13 +2157,19 @@ public Builder setDescriptionBytes(
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ - @java.lang.Override public int getGlobalPolicyEvaluationModeValue() { + @java.lang.Override + public int getGlobalPolicyEvaluationModeValue() { return globalPolicyEvaluationMode_; } /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -1833,7 +2177,10 @@ public Builder setDescriptionBytes(
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for globalPolicyEvaluationMode to set. * @return This builder for chaining. */ @@ -1844,6 +2191,8 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) { return this; } /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -1851,15 +2200,26 @@ public Builder setGlobalPolicyEvaluationModeValue(int value) {
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The globalPolicyEvaluationMode. */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode() { - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber(globalPolicyEvaluationMode_); - return result == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.UNRECOGNIZED : result; + public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode + getGlobalPolicyEvaluationMode() { + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode result = + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode.forNumber( + globalPolicyEvaluationMode_); + return result == null + ? com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode + .UNRECOGNIZED + : result; } /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -1867,11 +2227,15 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluatio
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The globalPolicyEvaluationMode to set. * @return This builder for chaining. */ - public Builder setGlobalPolicyEvaluationMode(com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode value) { + public Builder setGlobalPolicyEvaluationMode( + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode value) { if (value == null) { throw new NullPointerException(); } @@ -1881,6 +2245,8 @@ public Builder setGlobalPolicyEvaluationMode(com.google.cloud.binaryauthorizatio return this; } /** + * + * *
      * Optional. Controls the evaluation of a Google-maintained global admission
      * policy for common system-level images. Images not covered by the global
@@ -1888,7 +2254,10 @@ public Builder setGlobalPolicyEvaluationMode(com.google.cloud.binaryauthorizatio
      * has no effect when specified inside a global admission policy.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearGlobalPolicyEvaluationMode() { @@ -1898,28 +2267,40 @@ public Builder clearGlobalPolicyEvaluationMode() { return this; } - private java.util.List admissionWhitelistPatterns_ = - java.util.Collections.emptyList(); + private java.util.List + admissionWhitelistPatterns_ = java.util.Collections.emptyList(); + private void ensureAdmissionWhitelistPatternsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - admissionWhitelistPatterns_ = new java.util.ArrayList(admissionWhitelistPatterns_); + admissionWhitelistPatterns_ = + new java.util.ArrayList< + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern>( + admissionWhitelistPatterns_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> admissionWhitelistPatternsBuilder_; + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> + admissionWhitelistPatternsBuilder_; /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getAdmissionWhitelistPatternsList() { + public java.util.List + getAdmissionWhitelistPatternsList() { if (admissionWhitelistPatternsBuilder_ == null) { return java.util.Collections.unmodifiableList(admissionWhitelistPatterns_); } else { @@ -1927,13 +2308,17 @@ public java.util.List * Optional. Admission policy allowlisting. A matching admission request will * always be permitted. This feature is typically used to exclude Google or * third-party infrastructure images from Binary Authorization policies. *
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAdmissionWhitelistPatternsCount() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -1943,15 +2328,20 @@ public int getAdmissionWhitelistPatternsCount() { } } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + getAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { return admissionWhitelistPatterns_.get(index); } else { @@ -1959,13 +2349,17 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern ge } } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdmissionWhitelistPatterns( int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { @@ -1982,16 +2376,22 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAdmissionWhitelistPatterns( - int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder + builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.set(index, builderForValue.build()); @@ -2002,15 +2402,20 @@ public Builder setAdmissionWhitelistPatterns( return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addAdmissionWhitelistPatterns(com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { + public Builder addAdmissionWhitelistPatterns( + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { if (admissionWhitelistPatternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2024,13 +2429,17 @@ public Builder addAdmissionWhitelistPatterns(com.google.cloud.binaryauthorizatio return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdmissionWhitelistPatterns( int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern value) { @@ -2047,16 +2456,21 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdmissionWhitelistPatterns( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder builderForValue) { + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder + builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(builderForValue.build()); @@ -2067,16 +2481,22 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAdmissionWhitelistPatterns( - int index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder + builderForValue) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); admissionWhitelistPatterns_.add(index, builderForValue.build()); @@ -2087,20 +2507,25 @@ public Builder addAdmissionWhitelistPatterns( return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAdmissionWhitelistPatterns( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern> + values) { if (admissionWhitelistPatternsBuilder_ == null) { ensureAdmissionWhitelistPatternsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, admissionWhitelistPatterns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, admissionWhitelistPatterns_); onChanged(); } else { admissionWhitelistPatternsBuilder_.addAllMessages(values); @@ -2108,13 +2533,17 @@ public Builder addAllAdmissionWhitelistPatterns( return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAdmissionWhitelistPatterns() { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2127,13 +2556,17 @@ public Builder clearAdmissionWhitelistPatterns() { return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAdmissionWhitelistPatterns(int index) { if (admissionWhitelistPatternsBuilder_ == null) { @@ -2146,45 +2579,60 @@ public Builder removeAdmissionWhitelistPatterns(int index) { return this; } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder getAdmissionWhitelistPatternsBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder + getAdmissionWhitelistPatternsBuilder(int index) { return getAdmissionWhitelistPatternsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder + getAdmissionWhitelistPatternsOrBuilder(int index) { if (admissionWhitelistPatternsBuilder_ == null) { - return admissionWhitelistPatterns_.get(index); } else { + return admissionWhitelistPatterns_.get(index); + } else { return admissionWhitelistPatternsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdmissionWhitelistPatternsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> + getAdmissionWhitelistPatternsOrBuilderList() { if (admissionWhitelistPatternsBuilder_ != null) { return admissionWhitelistPatternsBuilder_.getMessageOrBuilderList(); } else { @@ -2192,51 +2640,76 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrB } } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder() { - return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder + addAdmissionWhitelistPatternsBuilder() { + return getAdmissionWhitelistPatternsFieldBuilder() + .addBuilder( + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + .getDefaultInstance()); } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder addAdmissionWhitelistPatternsBuilder( - int index) { - return getAdmissionWhitelistPatternsFieldBuilder().addBuilder( - index, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder + addAdmissionWhitelistPatternsBuilder(int index) { + return getAdmissionWhitelistPatternsFieldBuilder() + .addBuilder( + index, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + .getDefaultInstance()); } /** + * + * *
      * Optional. Admission policy allowlisting. A matching admission request will
      * always be permitted. This feature is typically used to exclude Google or
      * third-party infrastructure images from Binary Authorization policies.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAdmissionWhitelistPatternsBuilderList() { + public java.util.List< + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder> + getAdmissionWhitelistPatternsBuilderList() { return getAdmissionWhitelistPatternsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsFieldBuilder() { if (admissionWhitelistPatternsBuilder_ == null) { - admissionWhitelistPatternsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder>( + admissionWhitelistPatternsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Builder, + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder>( admissionWhitelistPatterns_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -2247,8 +2720,11 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Bu } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> clusterAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + clusterAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2256,11 +2732,14 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Bu } return clusterAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetMutableClusterAdmissionRules() { if (clusterAdmissionRules_ == null) { - clusterAdmissionRules_ = com.google.protobuf.MapField.newMapField( - ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); + clusterAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + ClusterAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!clusterAdmissionRules_.isMutable()) { clusterAdmissionRules_ = clusterAdmissionRules_.copy(); @@ -2269,10 +2748,13 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern.Bu onChanged(); return clusterAdmissionRules_; } + public int getClusterAdmissionRulesCount() { return internalGetClusterAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2283,23 +2765,28 @@ public int getClusterAdmissionRulesCount() {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsClusterAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsClusterAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetClusterAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getClusterAdmissionRulesMap()} instead. - */ + /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getClusterAdmissionRules() { + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + getClusterAdmissionRules() { return getClusterAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2310,13 +2797,19 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public java.util.Map getClusterAdmissionRulesMap() {
+    public java.util.Map<
+            java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule>
+        getClusterAdmissionRulesMap() {
       return internalGetClusterAdmissionRules().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2327,20 +2820,26 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetClusterAdmissionRules().getMap();
+    public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule
+        getClusterAdmissionRulesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map
+          map = internalGetClusterAdmissionRules().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2351,26 +2850,32 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetClusterAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getClusterAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetClusterAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearClusterAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000010); - internalGetMutableClusterAdmissionRules().getMutableMap() - .clear(); + internalGetMutableClusterAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2381,25 +2886,28 @@ public Builder clearClusterAdmissionRules() {
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeClusterAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableClusterAdmissionRules().getMutableMap() - .remove(key); + public Builder removeClusterAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableClusterAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> getMutableClusterAdmissionRules() { bitField0_ |= 0x00000010; return internalGetMutableClusterAdmissionRules().getMutableMap(); } /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2410,19 +2918,25 @@ public Builder removeClusterAdmissionRules(
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putClusterAdmissionRules( - java.lang.String key, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableClusterAdmissionRules().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableClusterAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000010; return this; } /** + * + * *
      * Optional. Per-cluster admission rules. Cluster spec format:
      * `location.clusterId`. There can be at most one admission rule per cluster
@@ -2433,19 +2947,24 @@ public Builder putClusterAdmissionRules(
      * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllClusterAdmissionRules( - java.util.Map values) { - internalGetMutableClusterAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableClusterAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000010; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesNamespaceAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesNamespaceAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2453,11 +2972,14 @@ public Builder putAllClusterAdmissionRules( } return kubernetesNamespaceAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetMutableKubernetesNamespaceAdmissionRules() { if (kubernetesNamespaceAdmissionRules_ == null) { - kubernetesNamespaceAdmissionRules_ = com.google.protobuf.MapField.newMapField( - KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesNamespaceAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + KubernetesNamespaceAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesNamespaceAdmissionRules_.isMutable()) { kubernetesNamespaceAdmissionRules_ = kubernetesNamespaceAdmissionRules_.copy(); @@ -2466,148 +2988,188 @@ public Builder putAllClusterAdmissionRules( onChanged(); return kubernetesNamespaceAdmissionRules_; } + public int getKubernetesNamespaceAdmissionRulesCount() { return internalGetKubernetesNamespaceAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesNamespaceAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesNamespaceAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesNamespaceAdmissionRules() { + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + getKubernetesNamespaceAdmissionRules() { return getKubernetesNamespaceAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesNamespaceAdmissionRulesMap() { + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + getKubernetesNamespaceAdmissionRulesMap() { return internalGetKubernetesNamespaceAdmissionRules().getMap(); } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesNamespaceAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesNamespaceAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearKubernetesNamespaceAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000020); - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .clear(); + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeKubernetesNamespaceAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .remove(key); + public Builder removeKubernetesNamespaceAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> getMutableKubernetesNamespaceAdmissionRules() { bitField0_ |= 0x00000020; return internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap(); } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putKubernetesNamespaceAdmissionRules( - java.lang.String key, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000020; return this; } /** + * + * *
      * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
      *   `[a-z.-]+`, e.g. `some-namespace`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllKubernetesNamespaceAdmissionRules( - java.util.Map values) { - internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableKubernetesNamespaceAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000020; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetesServiceAccountAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + kubernetesServiceAccountAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2615,11 +3177,14 @@ public Builder putAllKubernetesNamespaceAdmissionRules( } return kubernetesServiceAccountAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetMutableKubernetesServiceAccountAdmissionRules() { if (kubernetesServiceAccountAdmissionRules_ == null) { - kubernetesServiceAccountAdmissionRules_ = com.google.protobuf.MapField.newMapField( - KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); + kubernetesServiceAccountAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + KubernetesServiceAccountAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!kubernetesServiceAccountAdmissionRules_.isMutable()) { kubernetesServiceAccountAdmissionRules_ = kubernetesServiceAccountAdmissionRules_.copy(); @@ -2628,148 +3193,188 @@ public Builder putAllKubernetesNamespaceAdmissionRules( onChanged(); return kubernetesServiceAccountAdmissionRules_; } + public int getKubernetesServiceAccountAdmissionRulesCount() { return internalGetKubernetesServiceAccountAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsKubernetesServiceAccountAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetKubernetesServiceAccountAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. - */ + /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getKubernetesServiceAccountAdmissionRules() { + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + getKubernetesServiceAccountAdmissionRules() { return getKubernetesServiceAccountAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.Map getKubernetesServiceAccountAdmissionRulesMap() { + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + getKubernetesServiceAccountAdmissionRulesMap() { return internalGetKubernetesServiceAccountAdmissionRules().getMap(); } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetKubernetesServiceAccountAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetKubernetesServiceAccountAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearKubernetesServiceAccountAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000040); - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .clear(); + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeKubernetesServiceAccountAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .remove(key); + public Builder removeKubernetesServiceAccountAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> getMutableKubernetesServiceAccountAdmissionRules() { bitField0_ |= 0x00000040; return internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap(); } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putKubernetesServiceAccountAdmissionRules( - java.lang.String key, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000040; return this; } /** + * + * *
      * Optional. Per-kubernetes-service-account admission rules. Service account
      * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllKubernetesServiceAccountAdmissionRules( - java.util.Map values) { - internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableKubernetesServiceAccountAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000040; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> istioServiceIdentityAdmissionRules_; - private com.google.protobuf.MapField + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + istioServiceIdentityAdmissionRules_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -2777,11 +3382,14 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( } return istioServiceIdentityAdmissionRules_; } - private com.google.protobuf.MapField + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> internalGetMutableIstioServiceIdentityAdmissionRules() { if (istioServiceIdentityAdmissionRules_ == null) { - istioServiceIdentityAdmissionRules_ = com.google.protobuf.MapField.newMapField( - IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); + istioServiceIdentityAdmissionRules_ = + com.google.protobuf.MapField.newMapField( + IstioServiceIdentityAdmissionRulesDefaultEntryHolder.defaultEntry); } if (!istioServiceIdentityAdmissionRules_.isMutable()) { istioServiceIdentityAdmissionRules_ = istioServiceIdentityAdmissionRules_.copy(); @@ -2790,10 +3398,13 @@ public Builder putAllKubernetesServiceAccountAdmissionRules( onChanged(); return istioServiceIdentityAdmissionRules_; } + public int getIstioServiceIdentityAdmissionRulesCount() { return internalGetIstioServiceIdentityAdmissionRules().getMap().size(); } /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -2802,23 +3413,28 @@ public int getIstioServiceIdentityAdmissionRulesCount() {
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public boolean containsIstioServiceIdentityAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetIstioServiceIdentityAdmissionRules().getMap().containsKey(key); } - /** - * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. - */ + /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getIstioServiceIdentityAdmissionRules() { + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> + getIstioServiceIdentityAdmissionRules() { return getIstioServiceIdentityAdmissionRulesMap(); } /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -2827,13 +3443,19 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public java.util.Map getIstioServiceIdentityAdmissionRulesMap() {
+    public java.util.Map<
+            java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule>
+        getIstioServiceIdentityAdmissionRulesMap() {
       return internalGetIstioServiceIdentityAdmissionRules().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -2842,20 +3464,26 @@ public java.util.Map
      *
-     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
+     * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL];
+     * 
      */
     @java.lang.Override
-    public /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault(
-        java.lang.String key,
-        /* nullable */
-com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetIstioServiceIdentityAdmissionRules().getMap();
+    public /* nullable */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule
+        getIstioServiceIdentityAdmissionRulesOrDefault(
+            java.lang.String key,
+            /* nullable */
+            com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map
+          map = internalGetIstioServiceIdentityAdmissionRules().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -2864,26 +3492,32 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdenti
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetIstioServiceIdentityAdmissionRules().getMap(); + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map + map = internalGetIstioServiceIdentityAdmissionRules().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearIstioServiceIdentityAdmissionRules() { bitField0_ = (bitField0_ & ~0x00000080); - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .clear(); + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().clear(); return this; } /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -2892,25 +3526,28 @@ public Builder clearIstioServiceIdentityAdmissionRules() {
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder removeIstioServiceIdentityAdmissionRules( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .remove(key); + public Builder removeIstioServiceIdentityAdmissionRules(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map + public java.util.Map< + java.lang.String, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule> getMutableIstioServiceIdentityAdmissionRules() { bitField0_ |= 0x00000080; return internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap(); } /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -2919,19 +3556,25 @@ public Builder removeIstioServiceIdentityAdmissionRules(
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putIstioServiceIdentityAdmissionRules( - java.lang.String key, - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .put(key, value); + java.lang.String key, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().put(key, value); bitField0_ |= 0x00000080; return this; } /** + * + * *
      * Optional. Per-istio-service-identity admission rules. Istio service
      * identity spec format:
@@ -2940,56 +3583,78 @@ public Builder putIstioServiceIdentityAdmissionRules(
      * e.g. `spiffe://example.com/ns/test-ns/sa/default`
      * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder putAllIstioServiceIdentityAdmissionRules( - java.util.Map values) { - internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap() - .putAll(values); + java.util.Map + values) { + internalGetMutableIstioServiceIdentityAdmissionRules().getMutableMap().putAll(values); bitField0_ |= 0x00000080; return this; } private com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultAdmissionRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> defaultAdmissionRuleBuilder_; + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> + defaultAdmissionRuleBuilder_; /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the defaultAdmissionRule field is set. */ public boolean hasDefaultAdmissionRule() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The defaultAdmissionRule. */ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultAdmissionRule() { if (defaultAdmissionRuleBuilder_ == null) { - return defaultAdmissionRule_ == null ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + return defaultAdmissionRule_ == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() + : defaultAdmissionRule_; } else { return defaultAdmissionRuleBuilder_.getMessage(); } } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDefaultAdmissionRule(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + public Builder setDefaultAdmissionRule( + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3003,12 +3668,16 @@ public Builder setDefaultAdmissionRule(com.google.cloud.binaryauthorization.v1be return this; } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDefaultAdmissionRule( com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder builderForValue) { @@ -3022,18 +3691,25 @@ public Builder setDefaultAdmissionRule( return this; } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDefaultAdmissionRule(com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { + public Builder mergeDefaultAdmissionRule( + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule value) { if (defaultAdmissionRuleBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - defaultAdmissionRule_ != null && - defaultAdmissionRule_ != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) + && defaultAdmissionRule_ != null + && defaultAdmissionRule_ + != com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + .getDefaultInstance()) { getDefaultAdmissionRuleBuilder().mergeFrom(value); } else { defaultAdmissionRule_ = value; @@ -3046,12 +3722,16 @@ public Builder mergeDefaultAdmissionRule(com.google.cloud.binaryauthorization.v1 return this; } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDefaultAdmissionRule() { bitField0_ = (bitField0_ & ~0x00000100); @@ -3064,51 +3744,69 @@ public Builder clearDefaultAdmissionRule() { return this; } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder getDefaultAdmissionRuleBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder + getDefaultAdmissionRuleBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDefaultAdmissionRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder() { + public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder + getDefaultAdmissionRuleOrBuilder() { if (defaultAdmissionRuleBuilder_ != null) { return defaultAdmissionRuleBuilder_.getMessageOrBuilder(); } else { - return defaultAdmissionRule_ == null ? - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() : defaultAdmissionRule_; + return defaultAdmissionRule_ == null + ? com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.getDefaultInstance() + : defaultAdmissionRule_; } } /** + * + * *
      * Required. Default admission rule for a cluster without a per-cluster, per-
      * kubernetes-service-account, or per-istio-service-identity admission rule.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder> getDefaultAdmissionRuleFieldBuilder() { if (defaultAdmissionRuleBuilder_ == null) { - defaultAdmissionRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder>( - getDefaultAdmissionRule(), - getParentForChildren(), - isClean()); + defaultAdmissionRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule.Builder, + com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder>( + getDefaultAdmissionRule(), getParentForChildren(), isClean()); defaultAdmissionRule_ = null; } return defaultAdmissionRuleBuilder_; @@ -3116,39 +3814,58 @@ public com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder getDe private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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 ((bitField0_ & 0x00000200) != 0); } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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. Time when the policy was last updated.
      * 
* - * .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) { @@ -3164,14 +3881,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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(); } else { @@ -3182,17 +3902,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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 (((bitField0_ & 0x00000200) != 0) && - updateTime_ != null && - updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000200) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; @@ -3205,11 +3929,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3222,11 +3950,15 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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() { bitField0_ |= 0x00000200; @@ -3234,43 +3966,55 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Time when the policy was last updated.
      * 
* - * .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. Time when the policy was last updated.
      * 
* - * .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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3280,12 +4024,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.Policy) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.Policy) private static final com.google.cloud.binaryauthorization.v1beta1.Policy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.Policy(); } @@ -3294,27 +4038,27 @@ public static com.google.cloud.binaryauthorization.v1beta1.Policy getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Policy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Policy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3329,6 +4073,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.binaryauthorization.v1beta1.Policy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyName.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java similarity index 57% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java index e393c534972c..0ce831aa162c 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/PolicyOrBuilder.java @@ -1,55 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface PolicyOrBuilder extends +public interface PolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.Policy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name, in the format `projects/*/policy`. There is
    * at most one policy per project.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. A descriptive comment.
    * 
* * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -57,11 +85,16 @@ public interface PolicyOrBuilder extends
    * has no effect when specified inside a global admission policy.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for globalPolicyEvaluationMode. */ int getGlobalPolicyEvaluationModeValue(); /** + * + * *
    * Optional. Controls the evaluation of a Google-maintained global admission
    * policy for common system-level images. Images not covered by the global
@@ -69,66 +102,94 @@ public interface PolicyOrBuilder extends
    * has no effect when specified inside a global admission policy.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode global_policy_evaluation_mode = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The globalPolicyEvaluationMode. */ - com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode getGlobalPolicyEvaluationMode(); + com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode + getGlobalPolicyEvaluationMode(); /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getAdmissionWhitelistPatternsList(); /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern getAdmissionWhitelistPatterns(int index); + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern + getAdmissionWhitelistPatterns(int index); /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAdmissionWhitelistPatternsCount(); /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder> getAdmissionWhitelistPatternsOrBuilderList(); /** + * + * *
    * Optional. Admission policy allowlisting. A matching admission request will
    * always be permitted. This feature is typically used to exclude Google or
    * third-party infrastructure images from Binary Authorization policies.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern admission_whitelist_patterns = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder getAdmissionWhitelistPatternsOrBuilder( - int index); + com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder + getAdmissionWhitelistPatternsOrBuilder(int index); /** + * + * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -139,10 +200,14 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getClusterAdmissionRulesCount(); /** + * + * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -153,17 +218,18 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPatternOrBuilder
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsClusterAdmissionRules( - java.lang.String key); - /** - * Use {@link #getClusterAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsClusterAdmissionRules(java.lang.String key); + /** Use {@link #getClusterAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getClusterAdmissionRules(); + getClusterAdmissionRules(); /** + * + * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -174,11 +240,15 @@ boolean containsClusterAdmissionRules(
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map - getClusterAdmissionRulesMap(); + getClusterAdmissionRulesMap(); /** + * + * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -189,14 +259,18 @@ boolean containsClusterAdmissionRules(
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault( + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrDefault( java.lang.String key, /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** + * + * *
    * Optional. Per-cluster admission rules. Cluster spec format:
    * `location.clusterId`. There can be at most one admission rule per cluster
@@ -207,130 +281,170 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRu
    * https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters.
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> cluster_admission_rules = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getClusterAdmissionRulesOrThrow( java.lang.String key); /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getKubernetesNamespaceAdmissionRulesCount(); /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsKubernetesNamespaceAdmissionRules( - java.lang.String key); - /** - * Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsKubernetesNamespaceAdmissionRules(java.lang.String key); + /** Use {@link #getKubernetesNamespaceAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getKubernetesNamespaceAdmissionRules(); + getKubernetesNamespaceAdmissionRules(); /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map - getKubernetesNamespaceAdmissionRulesMap(); + getKubernetesNamespaceAdmissionRulesMap(); /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** + * + * *
    * Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format:
    *   `[a-z.-]+`, e.g. `some-namespace`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_namespace_admission_rules = 10 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesNamespaceAdmissionRulesOrThrow( - java.lang.String key); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesNamespaceAdmissionRulesOrThrow(java.lang.String key); /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getKubernetesServiceAccountAdmissionRulesCount(); /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsKubernetesServiceAccountAdmissionRules( - java.lang.String key); - /** - * Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsKubernetesServiceAccountAdmissionRules(java.lang.String key); + /** Use {@link #getKubernetesServiceAccountAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getKubernetesServiceAccountAdmissionRules(); + getKubernetesServiceAccountAdmissionRules(); /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map - getKubernetesServiceAccountAdmissionRulesMap(); + getKubernetesServiceAccountAdmissionRulesMap(); /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** + * + * *
    * Optional. Per-kubernetes-service-account admission rules. Service account
    * spec format: `namespace:serviceaccount`. e.g. `test-ns:default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> kubernetes_service_account_admission_rules = 8 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceAccountAdmissionRulesOrThrow( - java.lang.String key); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getKubernetesServiceAccountAdmissionRulesOrThrow(java.lang.String key); /** + * + * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -339,10 +453,14 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceA
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getIstioServiceIdentityAdmissionRulesCount(); /** + * + * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -351,17 +469,18 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getKubernetesServiceA
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - boolean containsIstioServiceIdentityAdmissionRules( - java.lang.String key); - /** - * Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ + boolean containsIstioServiceIdentityAdmissionRules(java.lang.String key); + /** Use {@link #getIstioServiceIdentityAdmissionRulesMap()} instead. */ @java.lang.Deprecated java.util.Map - getIstioServiceIdentityAdmissionRules(); + getIstioServiceIdentityAdmissionRules(); /** + * + * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -370,11 +489,15 @@ boolean containsIstioServiceIdentityAdmissionRules(
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ java.util.Map - getIstioServiceIdentityAdmissionRulesMap(); + getIstioServiceIdentityAdmissionRulesMap(); /** + * + * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -383,14 +506,19 @@ boolean containsIstioServiceIdentityAdmissionRules(
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrDefault( - java.lang.String key, - /* nullable */ -com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule defaultValue); /** + * + * *
    * Optional. Per-istio-service-identity admission rules. Istio service
    * identity spec format:
@@ -399,65 +527,93 @@ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdenti
    * e.g. `spiffe://example.com/ns/test-ns/sa/default`
    * 
* - * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * + * map<string, .google.cloud.binaryauthorization.v1beta1.AdmissionRule> istio_service_identity_admission_rules = 9 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getIstioServiceIdentityAdmissionRulesOrThrow( - java.lang.String key); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRule + getIstioServiceIdentityAdmissionRulesOrThrow(java.lang.String key); /** + * + * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the defaultAdmissionRule field is set. */ boolean hasDefaultAdmissionRule(); /** + * + * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The defaultAdmissionRule. */ com.google.cloud.binaryauthorization.v1beta1.AdmissionRule getDefaultAdmissionRule(); /** + * + * *
    * Required. Default admission rule for a cluster without a per-cluster, per-
    * kubernetes-service-account, or per-istio-service-identity admission rule.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.AdmissionRule default_admission_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder getDefaultAdmissionRuleOrBuilder(); + com.google.cloud.binaryauthorization.v1beta1.AdmissionRuleOrBuilder + getDefaultAdmissionRuleOrBuilder(); /** + * + * *
    * Output only. Time when the policy was last updated.
    * 
* - * .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. Time when the policy was last updated.
    * 
* - * .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. Time when the policy was last updated.
    * 
* - * .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(); } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ProjectName.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java similarity index 62% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java index 4287be1e2410..117ffb1a9502 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request message for [BinauthzManagementService.UpdateAttestor][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest} */ -public final class UpdateAttestorRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAttestorRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) UpdateAttestorRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAttestorRequest.newBuilder() to construct. private UpdateAttestorRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAttestorRequest() { - } + + private UpdateAttestorRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAttestorRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); } public static final int ATTESTOR_FIELD_NUMBER = 1; private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; /** + * + * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ @java.lang.Override @@ -59,34 +82,48 @@ public boolean hasAttestor() { return attestor_ != null; } /** + * + * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { - return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } /** + * + * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { - return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (attestor_ != null) { output.writeMessage(1, getAttestor()); } @@ -113,8 +149,7 @@ public int getSerializedSize() { size = 0; if (attestor_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAttestor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAttestor()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +159,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.binaryauthorization.v1beta1.UpdateAttestorRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other = (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other = + (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) obj; if (hasAttestor() != other.hasAttestor()) return false; if (hasAttestor()) { - if (!getAttestor() - .equals(other.getAttestor())) return false; + if (!getAttestor().equals(other.getAttestor())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -157,131 +192,138 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.UpdateAttestorRequest + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.UpdateAttestor][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.class, + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.Builder.class); } - // Construct using com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,14 +337,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest getDefaultInstanceForType() { - return com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.getDefaultInstance(); + public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest + getDefaultInstanceForType() { + return com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest + .getDefaultInstance(); } @java.lang.Override @@ -316,18 +360,20 @@ public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest build( @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result = new com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result = + new com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.attestor_ = attestorBuilder_ == null - ? attestor_ - : attestorBuilder_.build(); + result.attestor_ = attestorBuilder_ == null ? attestor_ : attestorBuilder_.build(); } } @@ -335,46 +381,51 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UpdateAt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest)other); + return mergeFrom( + (com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest + .getDefaultInstance()) return this; if (other.hasAttestor()) { mergeAttestor(other.getAttestor()); } @@ -404,19 +455,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAttestorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getAttestorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -426,49 +477,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.binaryauthorization.v1beta1.Attestor attestor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> attestorBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + attestorBuilder_; /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ public boolean hasAttestor() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ public com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor() { if (attestorBuilder_ == null) { - return attestor_ == null ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } else { return attestorBuilder_.getMessage(); } } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { @@ -484,13 +555,17 @@ public Builder setAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor return this; } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAttestor( com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder builderForValue) { @@ -504,19 +579,24 @@ public Builder setAttestor( return this; } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attestor value) { if (attestorBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - attestor_ != null && - attestor_ != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && attestor_ != null + && attestor_ + != com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance()) { getAttestorBuilder().mergeFrom(value); } else { attestor_ = value; @@ -529,13 +609,17 @@ public Builder mergeAttestor(com.google.cloud.binaryauthorization.v1beta1.Attest return this; } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAttestor() { bitField0_ = (bitField0_ & ~0x00000001); @@ -548,13 +632,17 @@ public Builder clearAttestor() { return this; } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestorBuilder() { bitField0_ |= 0x00000001; @@ -562,47 +650,59 @@ public com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder getAttestor return getAttestorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder() { if (attestorBuilder_ != null) { return attestorBuilder_.getMessageOrBuilder(); } else { - return attestor_ == null ? - com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() : attestor_; + return attestor_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Attestor.getDefaultInstance() + : attestor_; } } /** + * + * *
      * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
      * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
      * in the request URL, in the format `projects/*/attestors/*`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder> getAttestorFieldBuilder() { if (attestorBuilder_ == null) { - attestorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Attestor, com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( - getAttestor(), - getParentForChildren(), - isClean()); + attestorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Attestor, + com.google.cloud.binaryauthorization.v1beta1.Attestor.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder>( + getAttestor(), getParentForChildren(), isClean()); attestor_ = null; } return attestorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,41 +712,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAttestorRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAttestorRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,9 +760,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java index a653636df709..40d4f458c8c7 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdateAttestorRequestOrBuilder.java @@ -1,42 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface UpdateAttestorRequestOrBuilder extends +public interface UpdateAttestorRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the attestor field is set. */ boolean hasAttestor(); /** + * + * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The attestor. */ com.google.cloud.binaryauthorization.v1beta1.Attestor getAttestor(); /** + * + * *
    * Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will
    * overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name
    * in the request URL, in the format `projects/*/attestors/*`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Attestor attestor = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.binaryauthorization.v1beta1.AttestorOrBuilder getAttestorOrBuilder(); } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java similarity index 63% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java index 7b802bff6450..dcf23b0cbc40 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * Request message for [BinauthzManagementService.UpdatePolicy][].
  * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest} */ -public final class UpdatePolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdatePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) UpdatePolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdatePolicyRequest.newBuilder() to construct. private UpdatePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdatePolicyRequest() { - } + + private UpdatePolicyRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdatePolicyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); } public static final int POLICY_FIELD_NUMBER = 1; private com.google.cloud.binaryauthorization.v1beta1.Policy policy_; /** + * + * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the policy field is set. */ @java.lang.Override @@ -59,34 +82,48 @@ public boolean hasPolicy() { return policy_ != null; } /** + * + * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The policy. */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy() { - return policy_ == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() + : policy_; } /** + * + * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder getPolicyOrBuilder() { - return policy_ == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() + : policy_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (policy_ != null) { output.writeMessage(1, getPolicy()); } @@ -113,8 +149,7 @@ public int getSerializedSize() { size = 0; if (policy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPolicy()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,17 +159,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.binaryauthorization.v1beta1.UpdatePolicyRequest)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other = (com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) obj; + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other = + (com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) obj; if (hasPolicy() != other.hasPolicy()) return false; if (hasPolicy()) { - if (!getPolicy() - .equals(other.getPolicy())) return false; + if (!getPolicy().equals(other.getPolicy())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -157,131 +192,136 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [BinauthzManagementService.UpdatePolicy][].
    * 
* * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.class, + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.Builder.class); } // Construct using com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,13 +335,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto.internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationServiceProto + .internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest + getDefaultInstanceForType() { return com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance(); } @@ -316,18 +357,20 @@ public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest build() @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest buildPartial() { - com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result = new com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result = + new com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result) { + private void buildPartial0( + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.policy_ = policyBuilder_ == null - ? policy_ - : policyBuilder_.build(); + result.policy_ = policyBuilder_ == null ? policy_ : policyBuilder_.build(); } } @@ -335,46 +378,50 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UpdatePo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) { - return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest)other); + return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other) { - if (other == com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest other) { + if (other + == com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.getDefaultInstance()) + return this; if (other.hasPolicy()) { mergePolicy(other.getPolicy()); } @@ -404,19 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPolicyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPolicyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -426,49 +473,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.cloud.binaryauthorization.v1beta1.Policy policy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Policy, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> policyBuilder_; + com.google.cloud.binaryauthorization.v1beta1.Policy, + com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, + com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> + policyBuilder_; /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the policy field is set. */ public boolean hasPolicy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The policy. */ public com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy() { if (policyBuilder_ == null) { - return policy_ == null ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() + : policy_; } else { return policyBuilder_.getMessage(); } } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPolicy(com.google.cloud.binaryauthorization.v1beta1.Policy value) { if (policyBuilder_ == null) { @@ -484,13 +551,17 @@ public Builder setPolicy(com.google.cloud.binaryauthorization.v1beta1.Policy val return this; } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPolicy( com.google.cloud.binaryauthorization.v1beta1.Policy.Builder builderForValue) { @@ -504,19 +575,24 @@ public Builder setPolicy( return this; } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePolicy(com.google.cloud.binaryauthorization.v1beta1.Policy value) { if (policyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - policy_ != null && - policy_ != com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && policy_ != null + && policy_ + != com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance()) { getPolicyBuilder().mergeFrom(value); } else { policy_ = value; @@ -529,13 +605,17 @@ public Builder mergePolicy(com.google.cloud.binaryauthorization.v1beta1.Policy v return this; } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPolicy() { bitField0_ = (bitField0_ & ~0x00000001); @@ -548,13 +628,17 @@ public Builder clearPolicy() { return this; } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.binaryauthorization.v1beta1.Policy.Builder getPolicyBuilder() { bitField0_ |= 0x00000001; @@ -562,47 +646,59 @@ public com.google.cloud.binaryauthorization.v1beta1.Policy.Builder getPolicyBuil return getPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder getPolicyOrBuilder() { if (policyBuilder_ != null) { return policyBuilder_.getMessageOrBuilder(); } else { - return policy_ == null ? - com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() : policy_; + return policy_ == null + ? com.google.cloud.binaryauthorization.v1beta1.Policy.getDefaultInstance() + : policy_; } } /** + * + * *
      * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
      * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
      * the request URL, in the format `projects/*/policy`.
      * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Policy, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.Policy, + com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, + com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder> getPolicyFieldBuilder() { if (policyBuilder_ == null) { - policyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.Policy, com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder>( - getPolicy(), - getParentForChildren(), - isClean()); + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.Policy, + com.google.cloud.binaryauthorization.v1beta1.Policy.Builder, + com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder>( + getPolicy(), getParentForChildren(), isClean()); policy_ = null; } return policyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,41 +708,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) - private static final com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest(); } - public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdatePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdatePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,9 +756,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java index ef5dfec828b1..eddd317517fb 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UpdatePolicyRequestOrBuilder.java @@ -1,42 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/service.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface UpdatePolicyRequestOrBuilder extends +public interface UpdatePolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the policy field is set. */ boolean hasPolicy(); /** + * + * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The policy. */ com.google.cloud.binaryauthorization.v1beta1.Policy getPolicy(); /** + * + * *
    * Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will
    * overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in
    * the request URL, in the format `projects/*/policy`.
    * 
* - * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.binaryauthorization.v1beta1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.binaryauthorization.v1beta1.PolicyOrBuilder getPolicyOrBuilder(); } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java similarity index 70% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java index 4b9c678d4d4c..236dd0433f52 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNote.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; /** + * + * *
  * An [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock
  * ATTESTATION_AUTHORITY Note created by the user.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote}
  */
-public final class UserOwnedDrydockNote extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UserOwnedDrydockNote extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote)
     UserOwnedDrydockNoteOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UserOwnedDrydockNote.newBuilder() to construct.
   private UserOwnedDrydockNote(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UserOwnedDrydockNote() {
     noteReference_ = "";
     publicKeys_ = java.util.Collections.emptyList();
@@ -28,28 +46,32 @@ private UserOwnedDrydockNote() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UserOwnedDrydockNote();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
+    return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+        .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
+            com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class,
+            com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
   }
 
   public static final int NOTE_REFERENCE_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object noteReference_ = "";
   /**
+   *
+   *
    * 
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -61,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The noteReference. */ @java.lang.Override @@ -69,14 +92,15 @@ public java.lang.String getNoteReference() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; } } /** + * + * *
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -88,16 +112,15 @@ public java.lang.String getNoteReference() {
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for noteReference. */ @java.lang.Override - public com.google.protobuf.ByteString - getNoteReferenceBytes() { + public com.google.protobuf.ByteString getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); noteReference_ = b; return b; } else { @@ -106,9 +129,13 @@ public java.lang.String getNoteReference() { } public static final int PUBLIC_KEYS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List publicKeys_; + private java.util.List + publicKeys_; /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -121,13 +148,18 @@ public java.lang.String getNoteReference() {
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List getPublicKeysList() { + public java.util.List + getPublicKeysList() { return publicKeys_; } /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -140,14 +172,19 @@ public java.util.List
    *
-   * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List<
+          ? extends com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder>
       getPublicKeysOrBuilderList() {
     return publicKeys_;
   }
   /**
+   *
+   *
    * 
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -160,13 +197,17 @@ public java.util.List
    *
-   * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+   * 
+   * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL];
+   * 
    */
   @java.lang.Override
   public int getPublicKeysCount() {
     return publicKeys_.size();
   }
   /**
+   *
+   *
    * 
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -179,13 +220,17 @@ public int getPublicKeysCount() {
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicKeys(int index) { return publicKeys_.get(index); } /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -198,18 +243,23 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicK
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder + getPublicKeysOrBuilder(int index) { return publicKeys_.get(index); } public static final int DELEGATION_SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object delegationServiceAccountEmail_ = ""; /** + * + * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -222,7 +272,9 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder g
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The delegationServiceAccountEmail. */ @java.lang.Override @@ -231,14 +283,15 @@ public java.lang.String getDelegationServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; } } /** + * + * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -251,17 +304,17 @@ public java.lang.String getDelegationServiceAccountEmail() {
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for delegationServiceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -270,6 +323,7 @@ public java.lang.String getDelegationServiceAccountEmail() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,8 +335,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(noteReference_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, noteReference_); } @@ -305,11 +358,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, noteReference_); } for (int i = 0; i < publicKeys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, publicKeys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, publicKeys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(delegationServiceAccountEmail_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, delegationServiceAccountEmail_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 3, delegationServiceAccountEmail_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -319,19 +373,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.binaryauthorization.v1beta1.UserOwnedDrydockNote)) { return super.equals(obj); } - com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other = (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) obj; + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other = + (com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) obj; - if (!getNoteReference() - .equals(other.getNoteReference())) return false; - if (!getPublicKeysList() - .equals(other.getPublicKeysList())) return false; - if (!getDelegationServiceAccountEmail() - .equals(other.getDelegationServiceAccountEmail())) return false; + if (!getNoteReference().equals(other.getNoteReference())) return false; + if (!getPublicKeysList().equals(other.getPublicKeysList())) return false; + if (!getDelegationServiceAccountEmail().equals(other.getDelegationServiceAccountEmail())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,98 +410,105 @@ public int hashCode() { } public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseDelimitedFrom( - java.io.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.binaryauthorization.v1beta1.UserOwnedDrydockNote + parseDelimitedFrom( + java.io.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.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote prototype) { + + public static Builder newBuilder( + com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [user owned drydock note][google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote] references a Drydock
    * ATTESTATION_AUTHORITY Note created by the user.
@@ -456,33 +516,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote)
       com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNoteOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class, com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
+              com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.class,
+              com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.Builder.class);
     }
 
-    // Construct using com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -500,13 +560,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto
+          .internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getDefaultInstanceForType() {
+    public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote
+        getDefaultInstanceForType() {
       return com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance();
     }
 
@@ -521,14 +582,18 @@ public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote build()
 
     @java.lang.Override
     public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote buildPartial() {
-      com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result = new com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote(this);
+      com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result =
+          new com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
       if (publicKeysBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           publicKeys_ = java.util.Collections.unmodifiableList(publicKeys_);
@@ -540,7 +605,8 @@ private void buildPartialRepeatedFields(com.google.cloud.binaryauthorization.v1b
       }
     }
 
-    private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
+    private void buildPartial0(
+        com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.noteReference_ = noteReference_;
@@ -554,46 +620,50 @@ private void buildPartial0(com.google.cloud.binaryauthorization.v1beta1.UserOwne
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) {
-        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote)other);
+        return mergeFrom((com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other) {
-      if (other == com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote other) {
+      if (other
+          == com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote.getDefaultInstance())
+        return this;
       if (!other.getNoteReference().isEmpty()) {
         noteReference_ = other.noteReference_;
         bitField0_ |= 0x00000001;
@@ -617,9 +687,10 @@ public Builder mergeFrom(com.google.cloud.binaryauthorization.v1beta1.UserOwnedD
             publicKeysBuilder_ = null;
             publicKeys_ = other.publicKeys_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            publicKeysBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPublicKeysFieldBuilder() : null;
+            publicKeysBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPublicKeysFieldBuilder()
+                    : null;
           } else {
             publicKeysBuilder_.addAllMessages(other.publicKeys_);
           }
@@ -656,35 +727,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              noteReference_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey m =
-                  input.readMessage(
-                      com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.parser(),
-                      extensionRegistry);
-              if (publicKeysBuilder_ == null) {
-                ensurePublicKeysIsMutable();
-                publicKeys_.add(m);
-              } else {
-                publicKeysBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 26: {
-              delegationServiceAccountEmail_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                noteReference_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey m =
+                    input.readMessage(
+                        com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.parser(),
+                        extensionRegistry);
+                if (publicKeysBuilder_ == null) {
+                  ensurePublicKeysIsMutable();
+                  publicKeys_.add(m);
+                } else {
+                  publicKeysBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 26:
+              {
+                delegationServiceAccountEmail_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -694,10 +769,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object noteReference_ = "";
     /**
+     *
+     *
      * 
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -709,13 +787,13 @@ public Builder mergeFrom(
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The noteReference. */ public java.lang.String getNoteReference() { java.lang.Object ref = noteReference_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); noteReference_ = s; return s; @@ -724,6 +802,8 @@ public java.lang.String getNoteReference() { } } /** + * + * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -735,15 +815,14 @@ public java.lang.String getNoteReference() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for noteReference. */ - public com.google.protobuf.ByteString - getNoteReferenceBytes() { + public com.google.protobuf.ByteString getNoteReferenceBytes() { java.lang.Object ref = noteReference_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); noteReference_ = b; return b; } else { @@ -751,6 +830,8 @@ public java.lang.String getNoteReference() { } } /** + * + * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -762,18 +843,22 @@ public java.lang.String getNoteReference() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReference( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNoteReference(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } noteReference_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -785,6 +870,7 @@ public Builder setNoteReference(
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNoteReference() { @@ -794,6 +880,8 @@ public Builder clearNoteReference() { return this; } /** + * + * *
      * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
      * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -805,12 +893,14 @@ public Builder clearNoteReference() {
      * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for noteReference to set. * @return This builder for chaining. */ - public Builder setNoteReferenceBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNoteReferenceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); noteReference_ = value; bitField0_ |= 0x00000001; @@ -818,19 +908,27 @@ public Builder setNoteReferenceBytes( return this; } - private java.util.List publicKeys_ = - java.util.Collections.emptyList(); + private java.util.List + publicKeys_ = java.util.Collections.emptyList(); + private void ensurePublicKeysIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - publicKeys_ = new java.util.ArrayList(publicKeys_); + publicKeys_ = + new java.util.ArrayList( + publicKeys_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> publicKeysBuilder_; + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> + publicKeysBuilder_; /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -843,9 +941,12 @@ private void ensurePublicKeysIsMutable() {
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List getPublicKeysList() { + public java.util.List + getPublicKeysList() { if (publicKeysBuilder_ == null) { return java.util.Collections.unmodifiableList(publicKeys_); } else { @@ -853,6 +954,8 @@ public java.util.List * Optional. Public keys that verify attestations signed by this * attestor. This field may be updated. @@ -865,7 +968,9 @@ public java.util.List * - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getPublicKeysCount() { if (publicKeysBuilder_ == null) { @@ -875,6 +980,8 @@ public int getPublicKeysCount() { } } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -887,7 +994,9 @@ public int getPublicKeysCount() {
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicKeys(int index) { if (publicKeysBuilder_ == null) { @@ -897,6 +1006,8 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicK } } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -909,7 +1020,9 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicK
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPublicKeys( int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { @@ -926,6 +1039,8 @@ public Builder setPublicKeys( return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -938,10 +1053,13 @@ public Builder setPublicKeys(
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setPublicKeys( - int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.set(index, builderForValue.build()); @@ -952,6 +1070,8 @@ public Builder setPublicKeys( return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -964,9 +1084,12 @@ public Builder setPublicKeys(
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder addPublicKeys(com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { + public Builder addPublicKeys( + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { if (publicKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -980,6 +1103,8 @@ public Builder addPublicKeys(com.google.cloud.binaryauthorization.v1beta1.Attest return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -992,7 +1117,9 @@ public Builder addPublicKeys(com.google.cloud.binaryauthorization.v1beta1.Attest
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPublicKeys( int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey value) { @@ -1009,6 +1136,8 @@ public Builder addPublicKeys( return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1021,7 +1150,9 @@ public Builder addPublicKeys(
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPublicKeys( com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { @@ -1035,6 +1166,8 @@ public Builder addPublicKeys( return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1047,10 +1180,13 @@ public Builder addPublicKeys(
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addPublicKeys( - int index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { + int index, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder builderForValue) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); publicKeys_.add(index, builderForValue.build()); @@ -1061,6 +1197,8 @@ public Builder addPublicKeys( return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1073,14 +1211,16 @@ public Builder addPublicKeys(
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllPublicKeys( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (publicKeysBuilder_ == null) { ensurePublicKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, publicKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, publicKeys_); onChanged(); } else { publicKeysBuilder_.addAllMessages(values); @@ -1088,6 +1228,8 @@ public Builder addAllPublicKeys( return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1100,7 +1242,9 @@ public Builder addAllPublicKeys(
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearPublicKeys() { if (publicKeysBuilder_ == null) { @@ -1113,6 +1257,8 @@ public Builder clearPublicKeys() { return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1125,7 +1271,9 @@ public Builder clearPublicKeys() {
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removePublicKeys(int index) { if (publicKeysBuilder_ == null) { @@ -1138,6 +1286,8 @@ public Builder removePublicKeys(int index) { return this; } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1150,13 +1300,17 @@ public Builder removePublicKeys(int index) {
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder getPublicKeysBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder + getPublicKeysBuilder(int index) { return getPublicKeysFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1169,16 +1323,21 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder ge
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( - int index) { + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder + getPublicKeysOrBuilder(int index) { if (publicKeysBuilder_ == null) { - return publicKeys_.get(index); } else { + return publicKeys_.get(index); + } else { return publicKeysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1191,10 +1350,13 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder g
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPublicKeysOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> + getPublicKeysOrBuilderList() { if (publicKeysBuilder_ != null) { return publicKeysBuilder_.getMessageOrBuilderList(); } else { @@ -1202,6 +1364,8 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder g } } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1214,13 +1378,19 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder g
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder addPublicKeysBuilder() { - return getPublicKeysFieldBuilder().addBuilder( - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder + addPublicKeysBuilder() { + return getPublicKeysFieldBuilder() + .addBuilder( + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1233,14 +1403,20 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder ad
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder addPublicKeysBuilder( - int index) { - return getPublicKeysFieldBuilder().addBuilder( - index, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); + public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder + addPublicKeysBuilder(int index) { + return getPublicKeysFieldBuilder() + .addBuilder( + index, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.getDefaultInstance()); } /** + * + * *
      * Optional. Public keys that verify attestations signed by this
      * attestor.  This field may be updated.
@@ -1253,22 +1429,27 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder ad
      * valid attestations exist.
      * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getPublicKeysBuilderList() { + public java.util.List + getPublicKeysBuilderList() { return getPublicKeysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder> getPublicKeysFieldBuilder() { if (publicKeysBuilder_ == null) { - publicKeysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder>( - publicKeys_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + publicKeysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder, + com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder>( + publicKeys_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); publicKeys_ = null; } return publicKeysBuilder_; @@ -1276,6 +1457,8 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder ad private java.lang.Object delegationServiceAccountEmail_ = ""; /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1288,14 +1471,16 @@ public com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey.Builder ad
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The delegationServiceAccountEmail. */ public java.lang.String getDelegationServiceAccountEmail() { java.lang.Object ref = delegationServiceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); delegationServiceAccountEmail_ = s; return s; @@ -1304,6 +1489,8 @@ public java.lang.String getDelegationServiceAccountEmail() { } } /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1316,16 +1503,17 @@ public java.lang.String getDelegationServiceAccountEmail() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for delegationServiceAccountEmail. */ - public com.google.protobuf.ByteString - getDelegationServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes() { java.lang.Object ref = delegationServiceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); delegationServiceAccountEmail_ = b; return b; } else { @@ -1333,6 +1521,8 @@ public java.lang.String getDelegationServiceAccountEmail() { } } /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1345,19 +1535,25 @@ public java.lang.String getDelegationServiceAccountEmail() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmail( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelegationServiceAccountEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1370,7 +1566,10 @@ public Builder setDelegationServiceAccountEmail(
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearDelegationServiceAccountEmail() { @@ -1380,6 +1579,8 @@ public Builder clearDelegationServiceAccountEmail() { return this; } /** + * + * *
      * Output only. This field will contain the service account email address
      * that this Attestor will use as the principal when querying Container
@@ -1392,22 +1593,26 @@ public Builder clearDelegationServiceAccountEmail() {
      * future versions may use an email based on a different naming pattern.
      * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for delegationServiceAccountEmail to set. * @return This builder for chaining. */ - public Builder setDelegationServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDelegationServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); delegationServiceAccountEmail_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1417,41 +1622,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) } // @@protoc_insertion_point(class_scope:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) - private static final com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote DEFAULT_INSTANCE; + private static final com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote(); } - public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getDefaultInstance() { + public static com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UserOwnedDrydockNote parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UserOwnedDrydockNote parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1463,9 +1670,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote getDefaultInstanceForType() { + public com.google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java similarity index 75% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java index b20cee92c06f..4bfafdb2cd06 100644 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java +++ b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/UserOwnedDrydockNoteOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/binaryauthorization/v1beta1/resources.proto package com.google.cloud.binaryauthorization.v1beta1; -public interface UserOwnedDrydockNoteOrBuilder extends +public interface UserOwnedDrydockNoteOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -19,10 +37,13 @@ public interface UserOwnedDrydockNoteOrBuilder extends
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The noteReference. */ java.lang.String getNoteReference(); /** + * + * *
    * Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note,
    * created by the user, in the format: `projects/*/notes/*` (or the legacy
@@ -34,12 +55,14 @@ public interface UserOwnedDrydockNoteOrBuilder extends
    * 
* * string note_reference = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for noteReference. */ - com.google.protobuf.ByteString - getNoteReferenceBytes(); + com.google.protobuf.ByteString getNoteReferenceBytes(); /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -52,11 +75,15 @@ public interface UserOwnedDrydockNoteOrBuilder extends
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getPublicKeysList(); /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -69,10 +96,14 @@ public interface UserOwnedDrydockNoteOrBuilder extends
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKey getPublicKeys(int index); /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -85,10 +116,14 @@ public interface UserOwnedDrydockNoteOrBuilder extends
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getPublicKeysCount(); /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -101,11 +136,15 @@ public interface UserOwnedDrydockNoteOrBuilder extends
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List + java.util.List getPublicKeysOrBuilderList(); /** + * + * *
    * Optional. Public keys that verify attestations signed by this
    * attestor.  This field may be updated.
@@ -118,12 +157,16 @@ public interface UserOwnedDrydockNoteOrBuilder extends
    * valid attestations exist.
    * 
* - * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.cloud.binaryauthorization.v1beta1.AttestorPublicKey public_keys = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPublicKeysOrBuilder( int index); /** + * + * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -136,11 +179,15 @@ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPubli
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The delegationServiceAccountEmail. */ java.lang.String getDelegationServiceAccountEmail(); /** + * + * *
    * Output only. This field will contain the service account email address
    * that this Attestor will use as the principal when querying Container
@@ -153,9 +200,10 @@ com.google.cloud.binaryauthorization.v1beta1.AttestorPublicKeyOrBuilder getPubli
    * future versions may use an email based on a different naming pattern.
    * 
* - * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string delegation_service_account_email = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for delegationServiceAccountEmail. */ - com.google.protobuf.ByteString - getDelegationServiceAccountEmailBytes(); + com.google.protobuf.ByteString getDelegationServiceAccountEmailBytes(); } diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/resources.proto diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto b/java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto rename to java-binary-authorization/proto-google-cloud-binary-authorization-v1beta1/src/main/proto/google/cloud/binaryauthorization/v1beta1/service.proto diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/AsyncCreateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorProjectnameStringAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/createattestor/SyncCreateAttestorStringStringAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/AsyncDeleteAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorAttestorname.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/deleteattestor/SyncDeleteAttestorString.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/AsyncGetAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorAttestorname.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getattestor/SyncGetAttestorString.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/AsyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyPolicyname.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/getpolicy/SyncGetPolicyString.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestors.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/AsyncListAttestorsPaged.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestors.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsProjectname.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/listattestors/SyncListAttestorsString.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/AsyncUpdateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updateattestor/SyncUpdateAttestorAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/AsyncUpdatePolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1/updatepolicy/SyncUpdatePolicyPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/binauthzmanagementservicev1beta1settings/getpolicy/SyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/binauthzmanagementservicev1beta1stubsettings/getpolicy/SyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/stub/systempolicyv1beta1stubsettings/getsystempolicy/SyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/AsyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyPolicyname.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1/getsystempolicy/SyncGetSystemPolicyString.java diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1beta1/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/cloud/binaryauthorization/v1beta1/systempolicyv1beta1settings/getsystempolicy/SyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/AsyncCreateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorProjectnameStringResourcesattestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/createattestor/SyncCreateAttestorStringStringResourcesattestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/AsyncDeleteAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorAttestorname.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/deleteattestor/SyncDeleteAttestorString.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/AsyncGetAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorAttestorname.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getattestor/SyncGetAttestorString.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/AsyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyPolicyname.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/getpolicy/SyncGetPolicyString.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestors.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/AsyncListAttestorsPaged.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestors.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsProjectname.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/listattestors/SyncListAttestorsString.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/AsyncUpdateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updateattestor/SyncUpdateAttestorResourcesattestor.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/AsyncUpdatePolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1/updatepolicy/SyncUpdatePolicyResourcespolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/binauthzmanagementservicev1settings/getpolicy/SyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/binauthzmanagementservicev1stubsettings/getpolicy/SyncGetPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/systempolicyv1stubsettings/getsystempolicy/SyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/stub/validationhelperv1stubsettings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/AsyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyPolicyname.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1/getsystempolicy/SyncGetSystemPolicyString.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/systempolicyv1settings/getsystempolicy/SyncGetSystemPolicy.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/AsyncValidateAttestationOccurrence.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1/validateattestationoccurrence/SyncValidateAttestationOccurrence.java diff --git a/owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java b/java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java similarity index 100% rename from owl-bot-staging/java-binary-authorization/v1/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java rename to java-binary-authorization/samples/snippets/generated/com/google/protos/google/cloud/binaryauthorization/v1/validationhelperv1settings/validateattestationoccurrence/SyncValidateAttestationOccurrence.java diff --git a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java deleted file mode 100644 index 450767d9893e..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/BinauthzManagementServiceV1Grpc.java +++ /dev/null @@ -1,927 +0,0 @@ -package com.google.protos.google.cloud.binaryauthorization.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Google Cloud Management Service for Binary Authorization admission policies
- * and attestation authorities.
- * This API implements a REST model with the following objects:
- * * [Policy][google.cloud.binaryauthorization.v1.Policy]
- * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/binaryauthorization/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BinauthzManagementServiceV1Grpc { - - private BinauthzManagementServiceV1Grpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1.BinauthzManagementServiceV1"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPolicy", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPolicyMethod() { - io.grpc.MethodDescriptor getGetPolicyMethod; - if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getGetPolicyMethod = BinauthzManagementServiceV1Grpc.getGetPolicyMethod) == null) { - BinauthzManagementServiceV1Grpc.getGetPolicyMethod = getGetPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance())) - .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("GetPolicy")) - .build(); - } - } - } - return getGetPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdatePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdatePolicy", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdatePolicyMethod() { - io.grpc.MethodDescriptor getUpdatePolicyMethod; - if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getUpdatePolicyMethod = BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod) == null) { - BinauthzManagementServiceV1Grpc.getUpdatePolicyMethod = getUpdatePolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance())) - .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdatePolicy")) - .build(); - } - } - } - return getUpdatePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAttestor", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAttestorMethod() { - io.grpc.MethodDescriptor getCreateAttestorMethod; - if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getCreateAttestorMethod = BinauthzManagementServiceV1Grpc.getCreateAttestorMethod) == null) { - BinauthzManagementServiceV1Grpc.getCreateAttestorMethod = getCreateAttestorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance())) - .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("CreateAttestor")) - .build(); - } - } - } - return getCreateAttestorMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAttestor", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAttestorMethod() { - io.grpc.MethodDescriptor getGetAttestorMethod; - if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getGetAttestorMethod = BinauthzManagementServiceV1Grpc.getGetAttestorMethod) == null) { - BinauthzManagementServiceV1Grpc.getGetAttestorMethod = getGetAttestorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance())) - .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("GetAttestor")) - .build(); - } - } - } - return getGetAttestorMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAttestor", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAttestorMethod() { - io.grpc.MethodDescriptor getUpdateAttestorMethod; - if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getUpdateAttestorMethod = BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod) == null) { - BinauthzManagementServiceV1Grpc.getUpdateAttestorMethod = getUpdateAttestorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor.getDefaultInstance())) - .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("UpdateAttestor")) - .build(); - } - } - } - return getUpdateAttestorMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAttestorsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAttestors", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAttestorsMethod() { - io.grpc.MethodDescriptor getListAttestorsMethod; - if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getListAttestorsMethod = BinauthzManagementServiceV1Grpc.getListAttestorsMethod) == null) { - BinauthzManagementServiceV1Grpc.getListAttestorsMethod = getListAttestorsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAttestors")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("ListAttestors")) - .build(); - } - } - } - return getListAttestorsMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAttestorMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAttestor", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAttestorMethod() { - io.grpc.MethodDescriptor getDeleteAttestorMethod; - if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - if ((getDeleteAttestorMethod = BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod) == null) { - BinauthzManagementServiceV1Grpc.getDeleteAttestorMethod = getDeleteAttestorMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAttestor")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new BinauthzManagementServiceV1MethodDescriptorSupplier("DeleteAttestor")) - .build(); - } - } - } - return getDeleteAttestorMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static BinauthzManagementServiceV1Stub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BinauthzManagementServiceV1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1Stub(channel, callOptions); - } - }; - return BinauthzManagementServiceV1Stub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BinauthzManagementServiceV1BlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BinauthzManagementServiceV1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); - } - }; - return BinauthzManagementServiceV1BlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static BinauthzManagementServiceV1FutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BinauthzManagementServiceV1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1FutureStub(channel, callOptions); - } - }; - return BinauthzManagementServiceV1FutureStub.newStub(factory, channel); - } - - /** - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public interface AsyncService { - - /** - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - default void getPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPolicyMethod(), responseObserver); - } - - /** - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - default void updatePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePolicyMethod(), responseObserver); - } - - /** - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - default void createAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAttestorMethod(), responseObserver); - } - - /** - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - default void getAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAttestorMethod(), responseObserver); - } - - /** - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - default void updateAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAttestorMethod(), responseObserver); - } - - /** - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - default void listAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAttestorsMethod(), responseObserver); - } - - /** - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - default void deleteAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAttestorMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BinauthzManagementServiceV1. - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public static abstract class BinauthzManagementServiceV1ImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return BinauthzManagementServiceV1Grpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BinauthzManagementServiceV1. - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public static final class BinauthzManagementServiceV1Stub - extends io.grpc.stub.AbstractAsyncStub { - private BinauthzManagementServiceV1Stub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BinauthzManagementServiceV1Stub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1Stub(channel, callOptions); - } - - /** - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - public void getPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - public void updatePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - public void createAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public void getAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public void updateAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - public void listAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public void deleteAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BinauthzManagementServiceV1. - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public static final class BinauthzManagementServiceV1BlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BinauthzManagementServiceV1BlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BinauthzManagementServiceV1BlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1BlockingStub(channel, callOptions); - } - - /** - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy updatePolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdatePolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor createAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAttestorMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor getAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAttestorMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor updateAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAttestorMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse listAttestors(com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAttestorsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.protobuf.Empty deleteAttestor(com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAttestorMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service BinauthzManagementServiceV1. - *
-   * Google Cloud Management Service for Binary Authorization admission policies
-   * and attestation authorities.
-   * This API implements a REST model with the following objects:
-   * * [Policy][google.cloud.binaryauthorization.v1.Policy]
-   * * [Attestor][google.cloud.binaryauthorization.v1.Attestor]
-   * 
- */ - public static final class BinauthzManagementServiceV1FutureStub - extends io.grpc.stub.AbstractFutureStub { - private BinauthzManagementServiceV1FutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BinauthzManagementServiceV1FutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BinauthzManagementServiceV1FutureStub(channel, callOptions); - } - - /** - *
-     * A [policy][google.cloud.binaryauthorization.v1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1.Attestor] that must attest to
-     * a container image, before the project is allowed to deploy that
-     * image. There is at most one policy per project. All image admission
-     * requests are permitted if a project has no policy.
-     * Gets the [policy][google.cloud.binaryauthorization.v1.Policy] for this project. Returns a default
-     * [policy][google.cloud.binaryauthorization.v1.Policy] if the project does not have one.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates or updates a project's [policy][google.cloud.binaryauthorization.v1.Policy], and returns a copy of the
-     * new [policy][google.cloud.binaryauthorization.v1.Policy]. A policy is always updated as a whole, to avoid race
-     * conditions with concurrent policy enforcement (or management!)
-     * requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT
-     * if the request is malformed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updatePolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdatePolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an [attestor][google.cloud.binaryauthorization.v1.Attestor], and returns a copy of the new
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the project does not exist,
-     * INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] already exists.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAttestorMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAttestorMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an [attestor][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAttestorMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists [attestors][google.cloud.binaryauthorization.v1.Attestor].
-     * Returns INVALID_ARGUMENT if the project does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAttestors( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAttestorsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an [attestor][google.cloud.binaryauthorization.v1.Attestor]. Returns NOT_FOUND if the
-     * [attestor][google.cloud.binaryauthorization.v1.Attestor] does not exist.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAttestor( - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAttestorMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_POLICY = 0; - private static final int METHODID_UPDATE_POLICY = 1; - private static final int METHODID_CREATE_ATTESTOR = 2; - private static final int METHODID_GET_ATTESTOR = 3; - private static final int METHODID_UPDATE_ATTESTOR = 4; - private static final int METHODID_LIST_ATTESTORS = 5; - private static final int METHODID_DELETE_ATTESTOR = 6; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_POLICY: - serviceImpl.getPolicy((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_POLICY: - serviceImpl.updatePolicy((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ATTESTOR: - serviceImpl.createAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ATTESTOR: - serviceImpl.getAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ATTESTOR: - serviceImpl.updateAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ATTESTORS: - serviceImpl.listAttestors((com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ATTESTOR: - serviceImpl.deleteAttestor((com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( - service, METHODID_GET_POLICY))) - .addMethod( - getUpdatePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdatePolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( - service, METHODID_UPDATE_POLICY))) - .addMethod( - getCreateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.CreateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( - service, METHODID_CREATE_ATTESTOR))) - .addMethod( - getGetAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( - service, METHODID_GET_ATTESTOR))) - .addMethod( - getUpdateAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.UpdateAttestorRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Attestor>( - service, METHODID_UPDATE_ATTESTOR))) - .addMethod( - getListAttestorsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ListAttestorsResponse>( - service, METHODID_LIST_ATTESTORS))) - .addMethod( - getDeleteAttestorMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.DeleteAttestorRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ATTESTOR))) - .build(); - } - - private static abstract class BinauthzManagementServiceV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BinauthzManagementServiceV1BaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BinauthzManagementServiceV1"); - } - } - - private static final class BinauthzManagementServiceV1FileDescriptorSupplier - extends BinauthzManagementServiceV1BaseDescriptorSupplier { - BinauthzManagementServiceV1FileDescriptorSupplier() {} - } - - private static final class BinauthzManagementServiceV1MethodDescriptorSupplier - extends BinauthzManagementServiceV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - BinauthzManagementServiceV1MethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BinauthzManagementServiceV1Grpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BinauthzManagementServiceV1FileDescriptorSupplier()) - .addMethod(getGetPolicyMethod()) - .addMethod(getUpdatePolicyMethod()) - .addMethod(getCreateAttestorMethod()) - .addMethod(getGetAttestorMethod()) - .addMethod(getUpdateAttestorMethod()) - .addMethod(getListAttestorsMethod()) - .addMethod(getDeleteAttestorMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java deleted file mode 100644 index e4004e758d47..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/SystemPolicyV1Grpc.java +++ /dev/null @@ -1,323 +0,0 @@ -package com.google.protos.google.cloud.binaryauthorization.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * API for working with the system policy.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/binaryauthorization/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class SystemPolicyV1Grpc { - - private SystemPolicyV1Grpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1.SystemPolicyV1"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getGetSystemPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSystemPolicy", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetSystemPolicyMethod() { - io.grpc.MethodDescriptor getGetSystemPolicyMethod; - if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { - synchronized (SystemPolicyV1Grpc.class) { - if ((getGetSystemPolicyMethod = SystemPolicyV1Grpc.getGetSystemPolicyMethod) == null) { - SystemPolicyV1Grpc.getGetSystemPolicyMethod = getGetSystemPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSystemPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy.getDefaultInstance())) - .setSchemaDescriptor(new SystemPolicyV1MethodDescriptorSupplier("GetSystemPolicy")) - .build(); - } - } - } - return getGetSystemPolicyMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static SystemPolicyV1Stub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Stub(channel, callOptions); - } - }; - return SystemPolicyV1Stub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static SystemPolicyV1BlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1BlockingStub(channel, callOptions); - } - }; - return SystemPolicyV1BlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static SystemPolicyV1FutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public SystemPolicyV1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1FutureStub(channel, callOptions); - } - }; - return SystemPolicyV1FutureStub.newStub(factory, channel); - } - - /** - *
-   * API for working with the system policy.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - default void getSystemPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSystemPolicyMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service SystemPolicyV1. - *
-   * API for working with the system policy.
-   * 
- */ - public static abstract class SystemPolicyV1ImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return SystemPolicyV1Grpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1. - *
-   * API for working with the system policy.
-   * 
- */ - public static final class SystemPolicyV1Stub - extends io.grpc.stub.AbstractAsyncStub { - private SystemPolicyV1Stub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SystemPolicyV1Stub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1Stub(channel, callOptions); - } - - /** - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - public void getSystemPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1. - *
-   * API for working with the system policy.
-   * 
- */ - public static final class SystemPolicyV1BlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private SystemPolicyV1BlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SystemPolicyV1BlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1BlockingStub(channel, callOptions); - } - - /** - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy getSystemPolicy(com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSystemPolicyMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1. - *
-   * API for working with the system policy.
-   * 
- */ - public static final class SystemPolicyV1FutureStub - extends io.grpc.stub.AbstractFutureStub { - private SystemPolicyV1FutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected SystemPolicyV1FutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new SystemPolicyV1FutureStub(channel, callOptions); - } - - /** - *
-     * Gets the current system policy in the specified location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getSystemPolicy( - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSystemPolicyMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_SYSTEM_POLICY = 0; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_SYSTEM_POLICY: - serviceImpl.getSystemPolicy((com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetSystemPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.GetSystemPolicyRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Resources.Policy>( - service, METHODID_GET_SYSTEM_POLICY))) - .build(); - } - - private static abstract class SystemPolicyV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - SystemPolicyV1BaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("SystemPolicyV1"); - } - } - - private static final class SystemPolicyV1FileDescriptorSupplier - extends SystemPolicyV1BaseDescriptorSupplier { - SystemPolicyV1FileDescriptorSupplier() {} - } - - private static final class SystemPolicyV1MethodDescriptorSupplier - extends SystemPolicyV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - SystemPolicyV1MethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (SystemPolicyV1Grpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new SystemPolicyV1FileDescriptorSupplier()) - .addMethod(getGetSystemPolicyMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java b/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java deleted file mode 100644 index 21bc20e562d5..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1/grpc-google-cloud-binary-authorization-v1/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/ValidationHelperV1Grpc.java +++ /dev/null @@ -1,327 +0,0 @@ -package com.google.protos.google.cloud.binaryauthorization.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * BinAuthz Attestor verification
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/binaryauthorization/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ValidationHelperV1Grpc { - - private ValidationHelperV1Grpc() {} - - public static final java.lang.String SERVICE_NAME = "google.cloud.binaryauthorization.v1.ValidationHelperV1"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getValidateAttestationOccurrenceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ValidateAttestationOccurrence", - requestType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.class, - responseType = com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getValidateAttestationOccurrenceMethod() { - io.grpc.MethodDescriptor getValidateAttestationOccurrenceMethod; - if ((getValidateAttestationOccurrenceMethod = ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) == null) { - synchronized (ValidationHelperV1Grpc.class) { - if ((getValidateAttestationOccurrenceMethod = ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod) == null) { - ValidationHelperV1Grpc.getValidateAttestationOccurrenceMethod = getValidateAttestationOccurrenceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ValidateAttestationOccurrence")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse.getDefaultInstance())) - .setSchemaDescriptor(new ValidationHelperV1MethodDescriptorSupplier("ValidateAttestationOccurrence")) - .build(); - } - } - } - return getValidateAttestationOccurrenceMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ValidationHelperV1Stub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ValidationHelperV1Stub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1Stub(channel, callOptions); - } - }; - return ValidationHelperV1Stub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ValidationHelperV1BlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ValidationHelperV1BlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1BlockingStub(channel, callOptions); - } - }; - return ValidationHelperV1BlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ValidationHelperV1FutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ValidationHelperV1FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1FutureStub(channel, callOptions); - } - }; - return ValidationHelperV1FutureStub.newStub(factory, channel); - } - - /** - *
-   * BinAuthz Attestor verification
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - default void validateAttestationOccurrence(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getValidateAttestationOccurrenceMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service ValidationHelperV1. - *
-   * BinAuthz Attestor verification
-   * 
- */ - public static abstract class ValidationHelperV1ImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return ValidationHelperV1Grpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service ValidationHelperV1. - *
-   * BinAuthz Attestor verification
-   * 
- */ - public static final class ValidationHelperV1Stub - extends io.grpc.stub.AbstractAsyncStub { - private ValidationHelperV1Stub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ValidationHelperV1Stub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1Stub(channel, callOptions); - } - - /** - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - public void validateAttestationOccurrence(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service ValidationHelperV1. - *
-   * BinAuthz Attestor verification
-   * 
- */ - public static final class ValidationHelperV1BlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ValidationHelperV1BlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ValidationHelperV1BlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1BlockingStub(channel, callOptions); - } - - /** - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - public com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse validateAttestationOccurrence(com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getValidateAttestationOccurrenceMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service ValidationHelperV1. - *
-   * BinAuthz Attestor verification
-   * 
- */ - public static final class ValidationHelperV1FutureStub - extends io.grpc.stub.AbstractFutureStub { - private ValidationHelperV1FutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ValidationHelperV1FutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ValidationHelperV1FutureStub(channel, callOptions); - } - - /** - *
-     * Returns whether the given Attestation for the given image URI
-     * was signed by the given Attestor
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture validateAttestationOccurrence( - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getValidateAttestationOccurrenceMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_VALIDATE_ATTESTATION_OCCURRENCE = 0; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_VALIDATE_ATTESTATION_OCCURRENCE: - serviceImpl.validateAttestationOccurrence((com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getValidateAttestationOccurrenceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceRequest, - com.google.protos.google.cloud.binaryauthorization.v1.Service.ValidateAttestationOccurrenceResponse>( - service, METHODID_VALIDATE_ATTESTATION_OCCURRENCE))) - .build(); - } - - private static abstract class ValidationHelperV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ValidationHelperV1BaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.protos.google.cloud.binaryauthorization.v1.Service.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ValidationHelperV1"); - } - } - - private static final class ValidationHelperV1FileDescriptorSupplier - extends ValidationHelperV1BaseDescriptorSupplier { - ValidationHelperV1FileDescriptorSupplier() {} - } - - private static final class ValidationHelperV1MethodDescriptorSupplier - extends ValidationHelperV1BaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - ValidationHelperV1MethodDescriptorSupplier(java.lang.String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ValidationHelperV1Grpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ValidationHelperV1FileDescriptorSupplier()) - .addMethod(getValidateAttestationOccurrenceMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java deleted file mode 100644 index 350747556f10..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationResourcesProto.java +++ /dev/null @@ -1,269 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/resources.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public final class BinaryAuthorizationResourcesProto { - private BinaryAuthorizationResourcesProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_binaryauthorization_v1beta1_Policy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n8google/cloud/binaryauthorization/v1bet" + - "a1/resources.proto\022(google.cloud.binarya" + - "uthorization.v1beta1\032\037google/api/field_b" + - "ehavior.proto\032\031google/api/resource.proto" + - "\032\037google/protobuf/timestamp.proto\"\273\r\n\006Po" + - "licy\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013description\030" + - "\006 \001(\tB\004\342A\001\001\022x\n\035global_policy_evaluation_" + - "mode\030\007 \001(\0162K.google.cloud.binaryauthoriz" + - "ation.v1beta1.Policy.GlobalPolicyEvaluat" + - "ionModeB\004\342A\001\001\022o\n\034admission_whitelist_pat" + - "terns\030\002 \003(\0132C.google.cloud.binaryauthori" + - "zation.v1beta1.AdmissionWhitelistPattern" + - "B\004\342A\001\001\022r\n\027cluster_admission_rules\030\003 \003(\0132" + - "K.google.cloud.binaryauthorization.v1bet" + - "a1.Policy.ClusterAdmissionRulesEntryB\004\342A" + - "\001\001\022\213\001\n$kubernetes_namespace_admission_ru" + - "les\030\n \003(\0132W.google.cloud.binaryauthoriza" + - "tion.v1beta1.Policy.KubernetesNamespaceA" + - "dmissionRulesEntryB\004\342A\001\001\022\226\001\n*kubernetes_" + - "service_account_admission_rules\030\010 \003(\0132\\." + - "google.cloud.binaryauthorization.v1beta1" + - ".Policy.KubernetesServiceAccountAdmissio" + - "nRulesEntryB\004\342A\001\001\022\216\001\n&istio_service_iden" + - "tity_admission_rules\030\t \003(\0132X.google.clou" + - "d.binaryauthorization.v1beta1.Policy.Ist" + - "ioServiceIdentityAdmissionRulesEntryB\004\342A" + - "\001\001\022]\n\026default_admission_rule\030\004 \001(\01327.goo" + - "gle.cloud.binaryauthorization.v1beta1.Ad" + - "missionRuleB\004\342A\001\002\0225\n\013update_time\030\005 \001(\0132\032" + - ".google.protobuf.TimestampB\004\342A\001\003\032u\n\032Clus" + - "terAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005v" + - "alue\030\002 \001(\01327.google.cloud.binaryauthoriz" + - "ation.v1beta1.AdmissionRule:\0028\001\032\201\001\n&Kube" + - "rnetesNamespaceAdmissionRulesEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022F\n\005value\030\002 \001(\01327.google.cloud.bi" + - "naryauthorization.v1beta1.AdmissionRule:" + - "\0028\001\032\206\001\n+KubernetesServiceAccountAdmissio" + - "nRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n\005value\030\002 \001(\0132" + - "7.google.cloud.binaryauthorization.v1bet" + - "a1.AdmissionRule:\0028\001\032\202\001\n\'IstioServiceIde" + - "ntityAdmissionRulesEntry\022\013\n\003key\030\001 \001(\t\022F\n" + - "\005value\030\002 \001(\01327.google.cloud.binaryauthor" + - "ization.v1beta1.AdmissionRule:\0028\001\"d\n\032Glo" + - "balPolicyEvaluationMode\022-\n)GLOBAL_POLICY" + - "_EVALUATION_MODE_UNSPECIFIED\020\000\022\n\n\006ENABLE" + - "\020\001\022\013\n\007DISABLE\020\002:f\352Ac\n)binaryauthorizatio" + - "n.googleapis.com/Policy\022\031projects/{proje" + - "ct}/policy\022\033locations/{location}/policy\"" + - "1\n\031AdmissionWhitelistPattern\022\024\n\014name_pat" + - "tern\030\001 \001(\t\"\347\003\n\rAdmissionRule\022e\n\017evaluati" + - "on_mode\030\001 \001(\0162F.google.cloud.binaryautho" + - "rization.v1beta1.AdmissionRule.Evaluatio" + - "nModeB\004\342A\001\002\022%\n\027require_attestations_by\030\002" + - " \003(\tB\004\342A\001\001\022g\n\020enforcement_mode\030\003 \001(\0162G.g" + - "oogle.cloud.binaryauthorization.v1beta1." + - "AdmissionRule.EnforcementModeB\004\342A\001\002\"m\n\016E" + - "valuationMode\022\037\n\033EVALUATION_MODE_UNSPECI" + - "FIED\020\000\022\020\n\014ALWAYS_ALLOW\020\001\022\027\n\023REQUIRE_ATTE" + - "STATION\020\002\022\017\n\013ALWAYS_DENY\020\003\"p\n\017Enforcemen" + - "tMode\022 \n\034ENFORCEMENT_MODE_UNSPECIFIED\020\000\022" + - " \n\034ENFORCED_BLOCK_AND_AUDIT_LOG\020\001\022\031\n\025DRY" + - "RUN_AUDIT_LOG_ONLY\020\002\"\277\002\n\010Attestor\022\022\n\004nam" + - "e\030\001 \001(\tB\004\342A\001\002\022\031\n\013description\030\006 \001(\tB\004\342A\001\001" + - "\022a\n\027user_owned_drydock_note\030\003 \001(\0132>.goog" + - "le.cloud.binaryauthorization.v1beta1.Use" + - "rOwnedDrydockNoteH\000\0225\n\013update_time\030\004 \001(\013" + - "2\032.google.protobuf.TimestampB\004\342A\001\003:Y\352AV\n" + - "+binaryauthorization.googleapis.com/Atte" + - "stor\022\'projects/{project}/attestors/{atte" + - "stor}B\017\n\rattestor_type\"\274\001\n\024UserOwnedDryd" + - "ockNote\022\034\n\016note_reference\030\001 \001(\tB\004\342A\001\002\022V\n" + - "\013public_keys\030\002 \003(\0132;.google.cloud.binary" + - "authorization.v1beta1.AttestorPublicKeyB" + - "\004\342A\001\001\022.\n delegation_service_account_emai" + - "l\030\003 \001(\tB\004\342A\001\003\"\304\004\n\rPkixPublicKey\022\026\n\016publi" + - "c_key_pem\030\001 \001(\t\022g\n\023signature_algorithm\030\002" + - " \001(\0162J.google.cloud.binaryauthorization." + - "v1beta1.PkixPublicKey.SignatureAlgorithm" + - "\"\261\003\n\022SignatureAlgorithm\022#\n\037SIGNATURE_ALG" + - "ORITHM_UNSPECIFIED\020\000\022\027\n\023RSA_PSS_2048_SHA" + - "256\020\001\022\027\n\023RSA_PSS_3072_SHA256\020\002\022\027\n\023RSA_PS" + - "S_4096_SHA256\020\003\022\027\n\023RSA_PSS_4096_SHA512\020\004" + - "\022\036\n\032RSA_SIGN_PKCS1_2048_SHA256\020\005\022\036\n\032RSA_" + - "SIGN_PKCS1_3072_SHA256\020\006\022\036\n\032RSA_SIGN_PKC" + - "S1_4096_SHA256\020\007\022\036\n\032RSA_SIGN_PKCS1_4096_" + - "SHA512\020\010\022\025\n\021ECDSA_P256_SHA256\020\t\022\027\n\023EC_SI" + - "GN_P256_SHA256\020\t\022\025\n\021ECDSA_P384_SHA384\020\n\022" + - "\027\n\023EC_SIGN_P384_SHA384\020\n\022\025\n\021ECDSA_P521_S" + - "HA512\020\013\022\027\n\023EC_SIGN_P521_SHA512\020\013\032\002\020\001\"\300\001\n" + - "\021AttestorPublicKey\022\025\n\007comment\030\001 \001(\tB\004\342A\001" + - "\001\022\n\n\002id\030\002 \001(\t\022&\n\034ascii_armored_pgp_publi" + - "c_key\030\003 \001(\tH\000\022R\n\017pkix_public_key\030\005 \001(\01327" + - ".google.cloud.binaryauthorization.v1beta" + - "1.PkixPublicKeyH\000B\014\n\npublic_keyB\272\002\n,com." + - "google.cloud.binaryauthorization.v1beta1" + - "B!BinaryAuthorizationResourcesProtoP\001Z^c" + - "loud.google.com/go/binaryauthorization/a" + - "piv1beta1/binaryauthorizationpb;binaryau" + - "thorizationpb\370\001\001\252\002(Google.Cloud.BinaryAu" + - "thorization.V1Beta1\312\002(Google\\Cloud\\Binar" + - "yAuthorization\\V1beta1\352\002+Google::Cloud::" + - "BinaryAuthorization::V1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor, - new java.lang.String[] { "Name", "Description", "GlobalPolicyEvaluationMode", "AdmissionWhitelistPatterns", "ClusterAdmissionRules", "KubernetesNamespaceAdmissionRules", "KubernetesServiceAccountAdmissionRules", "IstioServiceIdentityAdmissionRules", "DefaultAdmissionRule", "UpdateTime", }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_ClusterAdmissionRulesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesNamespaceAdmissionRulesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_KubernetesServiceAccountAdmissionRulesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Policy_IstioServiceIdentityAdmissionRulesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionWhitelistPattern_descriptor, - new java.lang.String[] { "NamePattern", }); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_AdmissionRule_descriptor, - new java.lang.String[] { "EvaluationMode", "RequireAttestationsBy", "EnforcementMode", }); - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_Attestor_descriptor, - new java.lang.String[] { "Name", "Description", "UserOwnedDrydockNote", "UpdateTime", "AttestorType", }); - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_UserOwnedDrydockNote_descriptor, - new java.lang.String[] { "NoteReference", "PublicKeys", "DelegationServiceAccountEmail", }); - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_PkixPublicKey_descriptor, - new java.lang.String[] { "PublicKeyPem", "SignatureAlgorithm", }); - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_AttestorPublicKey_descriptor, - new java.lang.String[] { "Comment", "Id", "AsciiArmoredPgpPublicKey", "PkixPublicKey", "PublicKey", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java deleted file mode 100644 index c94a9daf6fc8..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/BinaryAuthorizationServiceProto.java +++ /dev/null @@ -1,241 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public final class BinaryAuthorizationServiceProto { - private BinaryAuthorizationServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_binaryauthorization_v1beta1_GetPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/cloud/binaryauthorization/v1bet" + - "a1/service.proto\022(google.cloud.binaryaut" + - "horization.v1beta1\032\034google/api/annotatio" + - "ns.proto\032\027google/api/client.proto\032\037googl" + - "e/api/field_behavior.proto\032\031google/api/r" + - "esource.proto\0328google/cloud/binaryauthor" + - "ization/v1beta1/resources.proto\032\033google/" + - "protobuf/empty.proto\"T\n\020GetPolicyRequest" + - "\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauthoriza" + - "tion.googleapis.com/Policy\"]\n\023UpdatePoli" + - "cyRequest\022F\n\006policy\030\001 \001(\01320.google.cloud" + - ".binaryauthorization.v1beta1.PolicyB\004\342A\001" + - "\002\"\304\001\n\025CreateAttestorRequest\022D\n\006parent\030\001 " + - "\001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.googl" + - "eapis.com/Project\022\031\n\013attestor_id\030\002 \001(\tB\004" + - "\342A\001\002\022J\n\010attestor\030\003 \001(\01322.google.cloud.bi" + - "naryauthorization.v1beta1.AttestorB\004\342A\001\002" + - "\"X\n\022GetAttestorRequest\022B\n\004name\030\001 \001(\tB4\342A" + - "\001\002\372A-\n+binaryauthorization.googleapis.co" + - "m/Attestor\"c\n\025UpdateAttestorRequest\022J\n\010a" + - "ttestor\030\001 \001(\01322.google.cloud.binaryautho" + - "rization.v1beta1.AttestorB\004\342A\001\002\"\203\001\n\024List" + - "AttestorsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A" + - "-\n+cloudresourcemanager.googleapis.com/P" + - "roject\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + - "\003 \001(\t\"w\n\025ListAttestorsResponse\022E\n\tattest" + - "ors\030\001 \003(\01322.google.cloud.binaryauthoriza" + - "tion.v1beta1.Attestor\022\027\n\017next_page_token" + - "\030\002 \001(\t\"[\n\025DeleteAttestorRequest\022B\n\004name\030" + - "\001 \001(\tB4\342A\001\002\372A-\n+binaryauthorization.goog" + - "leapis.com/Attestor\"Z\n\026GetSystemPolicyRe" + - "quest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)binaryauth" + - "orization.googleapis.com/Policy2\313\013\n Bina" + - "uthzManagementServiceV1Beta1\022\253\001\n\tGetPoli" + - "cy\022:.google.cloud.binaryauthorization.v1" + - "beta1.GetPolicyRequest\0320.google.cloud.bi" + - "naryauthorization.v1beta1.Policy\"0\332A\004nam" + - "e\202\323\344\223\002#\022!/v1beta1/{name=projects/*/polic" + - "y}\022\302\001\n\014UpdatePolicy\022=.google.cloud.binar" + - "yauthorization.v1beta1.UpdatePolicyReque" + - "st\0320.google.cloud.binaryauthorization.v1" + - "beta1.Policy\"A\332A\006policy\202\323\344\223\0022\032(/v1beta1/" + - "{policy.name=projects/*/policy}:\006policy\022" + - "\335\001\n\016CreateAttestor\022?.google.cloud.binary" + - "authorization.v1beta1.CreateAttestorRequ" + - "est\0322.google.cloud.binaryauthorization.v" + - "1beta1.Attestor\"V\332A\033parent,attestor_id,a" + - "ttestor\202\323\344\223\0022\"&/v1beta1/{parent=projects" + - "/*}/attestors:\010attestor\022\266\001\n\013GetAttestor\022" + - "<.google.cloud.binaryauthorization.v1bet" + - "a1.GetAttestorRequest\0322.google.cloud.bin" + - "aryauthorization.v1beta1.Attestor\"5\332A\004na" + - "me\202\323\344\223\002(\022&/v1beta1/{name=projects/*/atte" + - "stors/*}\022\323\001\n\016UpdateAttestor\022?.google.clo" + - "ud.binaryauthorization.v1beta1.UpdateAtt" + - "estorRequest\0322.google.cloud.binaryauthor" + - "ization.v1beta1.Attestor\"L\332A\010attestor\202\323\344" + - "\223\002;\032//v1beta1/{attestor.name=projects/*/" + - "attestors/*}:\010attestor\022\311\001\n\rListAttestors" + - "\022>.google.cloud.binaryauthorization.v1be" + - "ta1.ListAttestorsRequest\032?.google.cloud." + - "binaryauthorization.v1beta1.ListAttestor" + - "sResponse\"7\332A\006parent\202\323\344\223\002(\022&/v1beta1/{pa" + - "rent=projects/*}/attestors\022\240\001\n\016DeleteAtt" + - "estor\022?.google.cloud.binaryauthorization" + - ".v1beta1.DeleteAttestorRequest\032\026.google." + - "protobuf.Empty\"5\332A\004name\202\323\344\223\002(*&/v1beta1/" + - "{name=projects/*/attestors/*}\032V\312A\"binary" + - "authorization.googleapis.com\322A.https://w" + - "ww.googleapis.com/auth/cloud-platform2\250\002" + - "\n\023SystemPolicyV1Beta1\022\270\001\n\017GetSystemPolic" + - "y\022@.google.cloud.binaryauthorization.v1b" + - "eta1.GetSystemPolicyRequest\0320.google.clo" + - "ud.binaryauthorization.v1beta1.Policy\"1\332" + - "A\004name\202\323\344\223\002$\022\"/v1beta1/{name=locations/*" + - "/policy}\032V\312A\"binaryauthorization.googlea" + - "pis.com\322A.https://www.googleapis.com/aut" + - "h/cloud-platformB\270\002\n,com.google.cloud.bi" + - "naryauthorization.v1beta1B\037BinaryAuthori" + - "zationServiceProtoP\001Z^cloud.google.com/g" + - "o/binaryauthorization/apiv1beta1/binarya" + - "uthorizationpb;binaryauthorizationpb\370\001\001\252" + - "\002(Google.Cloud.BinaryAuthorization.V1Bet" + - "a1\312\002(Google\\Cloud\\BinaryAuthorization\\V1" + - "beta1\352\002+Google::Cloud::BinaryAuthorizati" + - "on::V1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_GetPolicyRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_UpdatePolicyRequest_descriptor, - new java.lang.String[] { "Policy", }); - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_CreateAttestorRequest_descriptor, - new java.lang.String[] { "Parent", "AttestorId", "Attestor", }); - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_GetAttestorRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_UpdateAttestorRequest_descriptor, - new java.lang.String[] { "Attestor", }); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ListAttestorsResponse_descriptor, - new java.lang.String[] { "Attestors", "NextPageToken", }); - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_DeleteAttestorRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_GetSystemPolicyRequest_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.ResourceProto.getDescriptor(); - com.google.cloud.binaryauthorization.v1beta1.BinaryAuthorizationResourcesProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java deleted file mode 100644 index 23d03ca3d58d..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationEventOrBuilder.java +++ /dev/null @@ -1,65 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface ContinuousValidationEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Pod event.
-   * 
- * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * @return Whether the podEvent field is set. - */ - boolean hasPodEvent(); - /** - *
-   * Pod event.
-   * 
- * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - * @return The podEvent. - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent getPodEvent(); - /** - *
-   * Pod event.
-   * 
- * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent pod_event = 1; - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEventOrBuilder getPodEventOrBuilder(); - - /** - *
-   * Config error event.
-   * 
- * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * @return Whether the configErrorEvent field is set. - */ - boolean hasConfigErrorEvent(); - /** - *
-   * Config error event.
-   * 
- * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - * @return The configErrorEvent. - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent getConfigErrorEvent(); - /** - *
-   * Config error event.
-   * 
- * - * .google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEvent config_error_event = 4; - */ - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ConfigErrorEventOrBuilder getConfigErrorEventOrBuilder(); - - com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.EventTypeCase getEventTypeCase(); -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java deleted file mode 100644 index 6e8ec274d91a..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/ContinuousValidationLoggingProto.java +++ /dev/null @@ -1,169 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public final class ContinuousValidationLoggingProto { - private ContinuousValidationLoggingProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public 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_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nLgoogle/cloud/binaryauthorization/v1bet" + - "a1/continuous_validation_logging.proto\022(" + - "google.cloud.binaryauthorization.v1beta1" + - "\032\037google/protobuf/timestamp.proto\"\205\021\n\031Co" + - "ntinuousValidationEvent\022u\n\tpod_event\030\001 \001" + - "(\0132`.google.cloud.binaryauthorization.v1" + - "beta1.ContinuousValidationEvent.Continuo" + - "usValidationPodEventH\000\022r\n\022config_error_e" + - "vent\030\004 \001(\0132T.google.cloud.binaryauthoriz" + - "ation.v1beta1.ContinuousValidationEvent." + - "ConfigErrorEventH\000\032\305\016\n\034ContinuousValidat" + - "ionPodEvent\022\025\n\rpod_namespace\030\007 \001(\t\022\013\n\003po" + - "d\030\001 \001(\t\022\023\n\013policy_name\030\010 \001(\t\022/\n\013deploy_t" + - "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" + - "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + - "amp\022\212\001\n\007verdict\030\004 \001(\0162y.google.cloud.bin" + - "aryauthorization.v1beta1.ContinuousValid" + - "ationEvent.ContinuousValidationPodEvent." + - "PolicyConformanceVerdict\022}\n\006images\030\005 \003(\013" + - "2m.google.cloud.binaryauthorization.v1be" + - "ta1.ContinuousValidationEvent.Continuous" + - "ValidationPodEvent.ImageDetails\032\243\n\n\014Imag" + - "eDetails\022\r\n\005image\030\001 \001(\t\022\026\n\016container_nam" + - "e\030\005 \001(\t\022\223\001\n\016container_type\030\006 \001(\0162{.googl" + - "e.cloud.binaryauthorization.v1beta1.Cont" + - "inuousValidationEvent.ContinuousValidati" + - "onPodEvent.ImageDetails.ContainerType\022\211\001" + - "\n\006result\030\002 \001(\0162y.google.cloud.binaryauth" + - "orization.v1beta1.ContinuousValidationEv" + - "ent.ContinuousValidationPodEvent.ImageDe" + - "tails.AuditResult\022\023\n\013description\030\003 \001(\t\022\220" + - "\001\n\rcheck_results\030\004 \003(\0132y.google.cloud.bi" + - "naryauthorization.v1beta1.ContinuousVali" + - "dationEvent.ContinuousValidationPodEvent" + - ".ImageDetails.CheckResult\032\362\004\n\013CheckResul" + - "t\022\027\n\017check_set_index\030\001 \001(\t\022\026\n\016check_set_" + - "name\030\002 \001(\t\022\241\001\n\017check_set_scope\030\003 \001(\0132\207\001." + - "google.cloud.binaryauthorization.v1beta1" + - ".ContinuousValidationEvent.ContinuousVal" + - "idationPodEvent.ImageDetails.CheckResult" + - ".CheckSetScope\022\023\n\013check_index\030\004 \001(\t\022\022\n\nc" + - "heck_name\030\005 \001(\t\022\022\n\ncheck_type\030\006 \001(\t\022\230\001\n\007" + - "verdict\030\007 \001(\0162\206\001.google.cloud.binaryauth" + - "orization.v1beta1.ContinuousValidationEv" + - "ent.ContinuousValidationPodEvent.ImageDe" + - "tails.CheckResult.CheckVerdict\022\023\n\013explan" + - "ation\030\010 \001(\t\032^\n\rCheckSetScope\022$\n\032kubernet" + - "es_service_account\030\001 \001(\tH\000\022\036\n\024kubernetes" + - "_namespace\030\002 \001(\tH\000B\007\n\005scope\"A\n\014CheckVerd" + - "ict\022\035\n\031CHECK_VERDICT_UNSPECIFIED\020\000\022\022\n\016NO" + - "N_CONFORMANT\020\001\"k\n\rContainerType\022\036\n\032CONTA" + - "INER_TYPE_UNSPECIFIED\020\000\022\r\n\tCONTAINER\020\001\022\022" + - "\n\016INIT_CONTAINER\020\002\022\027\n\023EPHEMERAL_CONTAINE" + - "R\020\003\"@\n\013AuditResult\022\034\n\030AUDIT_RESULT_UNSPE" + - "CIFIED\020\000\022\t\n\005ALLOW\020\001\022\010\n\004DENY\020\002\"[\n\030PolicyC" + - "onformanceVerdict\022*\n&POLICY_CONFORMANCE_" + - "VERDICT_UNSPECIFIED\020\000\022\023\n\017VIOLATES_POLICY" + - "\020\001\032\'\n\020ConfigErrorEvent\022\023\n\013description\030\001 " + - "\001(\tB\014\n\nevent_typeB\271\002\n,com.google.cloud.b" + - "inaryauthorization.v1beta1B ContinuousVa" + - "lidationLoggingProtoP\001Z^cloud.google.com" + - "/go/binaryauthorization/apiv1beta1/binar" + - "yauthorizationpb;binaryauthorizationpb\370\001" + - "\001\252\002(Google.Cloud.BinaryAuthorization.V1B" + - "eta1\312\002(Google\\Cloud\\BinaryAuthorization\\" + - "V1beta1\352\002+Google::Cloud::BinaryAuthoriza" + - "tion::V1beta1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor, - new java.lang.String[] { "PodEvent", "ConfigErrorEvent", "EventType", }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor, - new java.lang.String[] { "PodNamespace", "Pod", "PolicyName", "DeployTime", "EndTime", "Verdict", "Images", }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor, - new java.lang.String[] { "Image", "ContainerName", "ContainerType", "Result", "Description", "CheckResults", }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor, - new java.lang.String[] { "CheckSetIndex", "CheckSetName", "CheckSetScope", "CheckIndex", "CheckName", "CheckType", "Verdict", "Explanation", }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ContinuousValidationPodEvent_ImageDetails_CheckResult_CheckSetScope_descriptor, - new java.lang.String[] { "KubernetesServiceAccount", "KubernetesNamespace", "Scope", }); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor = - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_binaryauthorization_v1beta1_ContinuousValidationEvent_ConfigErrorEvent_descriptor, - new java.lang.String[] { "Description", }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java deleted file mode 100644 index 1268e03db8fa..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/DeleteAttestorRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface DeleteAttestorRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java deleted file mode 100644 index 3386bd5527ff..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetAttestorRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface GetAttestorRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetAttestorRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format
-   * `projects/*/attestors/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java deleted file mode 100644 index 989f192f4ef7..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetPolicyRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface GetPolicyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
-   * in the format `projects/*/policy`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve,
-   * in the format `projects/*/policy`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java b/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java deleted file mode 100644 index e5c14ae11363..000000000000 --- a/owl-bot-staging/java-binary-authorization/v1beta1/proto-google-cloud-binary-authorization-v1beta1/src/main/java/com/google/cloud/binaryauthorization/v1beta1/GetSystemPolicyRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/binaryauthorization/v1beta1/service.proto - -package com.google.cloud.binaryauthorization.v1beta1; - -public interface GetSystemPolicyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.binaryauthorization.v1beta1.GetSystemPolicyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The resource name, in the format `locations/*/policy`.
-   * Note that the system policy is not associated with a project.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The resource name, in the format `locations/*/policy`.
-   * Note that the system policy is not associated with a project.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -}